diff --git a/.github/workflows/ubuntu-build.yml b/.github/workflows/ubuntu-build.yml index d07f8689..d69de51e 100644 --- a/.github/workflows/ubuntu-build.yml +++ b/.github/workflows/ubuntu-build.yml @@ -94,6 +94,8 @@ jobs: if-no-files-found: error release: + permissions: + contents: write runs-on: ubuntu-latest needs: package-deb if: github.ref_type == 'tag' @@ -115,11 +117,10 @@ jobs: path: debs pattern: '*-deb' - - name: Create or update release - uses: softprops/action-gh-release@v1 + - name: Upload Binaries to Release + uses: svenstaro/upload-release-action@v2 with: - files: debs/*/*.deb - tag_name: ${{ steps.get_version.outputs.version }} - generate_release_notes: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + repo_token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref }} + file_glob: true + file: debs/*/*.deb