Skip to content

Commit

Permalink
build: fix AppImage files release upload
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Apr 13, 2022
1 parent 0da20d0 commit 6bcc7ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/glpi-agent-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,12 @@ jobs:
id: upload-linux-appimage-assets
if: ${{ needs.setup-release.outputs.create-release == 'yes' }}
run: |
gh release upload ${{ needs.setup-release.outputs.tag_name }} *.AppImage{,.zsync}
unset FILES
for file in *.AppImage{,.zsync}
do
[ -e "$file" ] && FILES="$FILES $file"
done
gh release upload ${{ needs.setup-release.outputs.tag_name }} $FILES
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 6bcc7ec

Please sign in to comment.