From 8666818dfaca016238c8743a14880b63314e473e Mon Sep 17 00:00:00 2001 From: Matthew Strasiotto <39424834+matthewstrasiotto@users.noreply.github.com> Date: Thu, 18 Aug 2022 19:00:09 +1000 Subject: [PATCH] ci: :pushpin: change from shogo82148/actions-upload-release-asset to softprops/action-gh-release --- .github/workflows/publish.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7e49b9a..cbb1af1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,11 +28,16 @@ jobs: sha256sum ${file#./} >> ${file%.*}.sha256 done ls -l - - name: Upload GitHub Release assets - uses: shogo82148/actions-upload-release-asset@v1.5.0 + - name: Publish output artifacts + id: publish-assets + uses: softprops/action-gh-release@50195ba7f6f93d1ac97ba8332a178e008ad176aa with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: ./* + prerelease: false + fail_on_unmatched_files: true + tag_name: ${{ github.event.release.tag_name }} + files: ./* + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} generate: runs-on: ubuntu-latest needs: