From c155ff69b7e90120b63291bac26b211d57d8d741 Mon Sep 17 00:00:00 2001 From: Hugo van Rijswijk Date: Thu, 27 Jul 2023 20:44:24 +0200 Subject: [PATCH] build: fix release artifact upload --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bd75f20..96d8d7f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,7 @@ jobs: runs-on: ubuntu-latest outputs: release_created: ${{ steps.release.outputs.release_created }} + tag_name: ${{ steps.release.outputs.tag_name }} steps: - uses: google-github-actions/release-please-action@v3 id: release @@ -92,7 +93,6 @@ jobs: if-no-files-found: error retention-days: 2 - name: Upload release artifacts - uses: softprops/action-gh-release@v1 - with: - files: ${{ matrix.local_path }} - fail_on_unmatched_files: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh release upload ${{ needs.release-please.outputs.tag_name }} ${{ matrix.local_path }}