From 0d8d7e4ee50b19b2b8295d94c802ff0cc74f9aff Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Fri, 27 Jan 2023 13:27:03 +0100 Subject: [PATCH] fix debian artifact upload --- .github/workflows/debian.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 664175e1d..d406d3883 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -148,10 +148,8 @@ jobs: echo "TAG_NAME=${REF##*/}" >> $GITHUB_ENV - name: Publish Debian package on GitHub Releases if: startsWith(inputs.ref, 'refs/tags/') - uses: softprops/action-gh-release@v1 - with: - fail_on_unmatched_files: true - token: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }} - files: | - cryptomator_*_amd64.deb - cryptomator_*.asc \ No newline at end of file + env: + GITHUB_TOKEN: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }} + run: | + artifacts=$(ls | grep cryptomator*.deb) + gh release upload ${{ env.TAG_NAME }} $artifacts \ No newline at end of file