From 30f98f7e64a63a159ce70f02aa6c4c1196cd9ca7 Mon Sep 17 00:00:00 2001 From: Justin Ma Date: Wed, 13 Nov 2024 11:28:47 +0800 Subject: [PATCH] Downgrade softprops/action-gh-release to 2.0.5 (#14327) # Description Downgrade `softprops/action-gh-release` to 2.0.5 to fix the release per asset mess. It works in https://github.com/nushell/nushell/actions/runs/11809766842 with the release draft: https://github.com/nushell/nushell/releases/tag/untagged-c055298a78ddb780bd01, more detail could be found here: https://github.com/softprops/action-gh-release/issues/445 # User-Facing Changes # Tests + Formatting # After Submitting --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 783ae18868..493719efc7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -98,9 +98,10 @@ jobs: TARGET: ${{ matrix.target }} _EXTRA_: ${{ matrix.extra }} - # REF: https://github.com/marketplace/actions/gh-release + # WARN: Don't upgrade this action due to the release per asset issue. + # See: https://github.com/softprops/action-gh-release/issues/445 - name: Publish Archive - uses: softprops/action-gh-release@v2.0.9 + uses: softprops/action-gh-release@v2.0.5 if: ${{ startsWith(github.ref, 'refs/tags/') }} with: draft: true @@ -124,7 +125,7 @@ jobs: - name: Create Checksums run: cd release && shasum -a 256 * > ../SHA256SUMS - name: Publish Checksums - uses: softprops/action-gh-release@v2.0.9 + uses: softprops/action-gh-release@v2.0.5 with: draft: true files: SHA256SUMS