update workflow

This commit is contained in:
joshuaboud 2021-06-29 12:38:17 -03:00
parent 736a7473b7
commit 27bfecfdc0
No known key found for this signature in database
GPG Key ID: 17EFB59E2A8BF50E

View File

@ -20,7 +20,7 @@ jobs:
echo "TITLE=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.title')" >> $GITHUB_ENV
echo "VERSION=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.version')" >> $GITHUB_ENV
echo "REVISION=$(cat ${{github.workspace}}/manifest.json | jq --raw-output '.buildVersion')" >> $GITHUB_ENV
- name: Release
- name: GitHub Release
id: release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
@ -29,11 +29,11 @@ jobs:
prerelease: ${{env.PRERELEASE}}
body_path: ${{github.workspace}}/CHANGELOG.md
files: |
${{github.workspace}}/dist/deb/*.deb
${{github.workspace}}/dist/rpm/*/*.rpm
${{github.workspace}}/dist/packages/*/*.deb
${{github.workspace}}/dist/packages/*/*.rpm
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Post-Release
- name: Repository Database
if: startsWith(github.ref, 'refs/tags/')
run: echo ${{steps.release.outputs}}
run: update-repositories ${{github.workspace}}