Skip to content

Joomla 5 compatibility #12

Joomla 5 compatibility

Joomla 5 compatibility #12

Workflow file for this run

name: CD
on:
push:
paths-ignore:
- '.github/**'
- '.git**'
- '**README.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build Joomla Package
id: jxbuild
uses: mavrosxristoforos/[email protected]
with:
build-file: 'build_popfeed.jxb'
- name: Get XML
id: getxml
uses: mavrosxristoforos/[email protected]
with:
xml-file: 'popfeed/popfeed.xml'
xpath: '//version'
- name: Create Release
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.getxml.outputs.info }}
release_name: PopFeed ${{ steps.getxml.outputs.info }}
#body: |
# Changes in this Release
# - First Change
# - Second Change
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./popfeed.zip
asset_name: popfeed.zip
asset_content_type: application/zip
#- name: Create Release
# uses: ncipollo/release-action@v1
# with:
# artifacts: 'popfeed.zip'
# token: ${{ secrets.GITHUB_TOKEN }}
# tag: ${{ steps.getxml.outputs.info }}