Browse Source

chore: update softprops/action-gh-release to v2

Jacky 1 year ago
parent
commit
dd56fecc53
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/build.yml

+ 2 - 2
.github/workflows/build.yml

@@ -84,7 +84,7 @@ jobs:
                     find app/dist -printf '%P\n' | tar -C app/dist --no-recursion -zcvf app-dist.tar.gz -T -
                     find app/dist -printf '%P\n' | tar -C app/dist --no-recursion -zcvf app-dist.tar.gz -T -
 
 
             -   name: Publish
             -   name: Publish
-                uses: softprops/action-gh-release@v1
+                uses: softprops/action-gh-release@v2
                 if: github.event_name == 'release'
                 if: github.event_name == 'release'
                 with:
                 with:
                     files: app-dist.tar.gz
                     files: app-dist.tar.gz
@@ -190,7 +190,7 @@ jobs:
                     openssl dgst -sha512 ${{ env.DIST }}.tar.gz | sed 's/([^)]*)//g' | awk '{print $NF}' >> ${{ env.DIST }}.tar.gz.digest
                     openssl dgst -sha512 ${{ env.DIST }}.tar.gz | sed 's/([^)]*)//g' | awk '{print $NF}' >> ${{ env.DIST }}.tar.gz.digest
 
 
             -   name: Publish
             -   name: Publish
-                uses: softprops/action-gh-release@v1
+                uses: softprops/action-gh-release@v2
                 if: github.event_name == 'release'
                 if: github.event_name == 'release'
                 with:
                 with:
                     files: |
                     files: |