chore(CI): Fix appimage missing rename for nightly zsync upload

reviewable/pr6498/r1
Anthony Bilinski 2022-02-25 16:34:28 -08:00
parent ca4d4b8a98
commit bad2e0aba9
1 changed files with 3 additions and 1 deletions

View File

@ -251,7 +251,9 @@ jobs:
artifacts: "qTox-${{ steps.get_version.outputs.VERSION }}.x86_64.AppImage,qTox-${{ steps.get_version.outputs.VERSION }}.x86_64.AppImage.sha256,qTox-${{ steps.get_version.outputs.VERSION }}.x86_64.AppImage.zsync"
- name: Rename artifact for nightly upload
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: cp qTox-*.x86_64.AppImage qTox-nightly.x86_64.AppImage
run: |
cp qTox-*.x86_64.AppImage qTox-nightly.x86_64.AppImage
cp qTox-*.x86_64.AppImage.zsync qTox-nightly.x86_64.AppImage.zsync
- name: Upload to nightly release
uses: ncipollo/release-action@v1
if: github.event_name == 'push' && github.ref == 'refs/heads/master'