Skip to content

Commit

Permalink
chore: swap deprecated actions/upload-release-assets to softprops/act…
Browse files Browse the repository at this point in the history
…ion-gh-release
  • Loading branch information
alfiedotwtf committed Nov 15, 2024
1 parent 0f9e8d3 commit 9996738
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 20 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/nightly-forc-explorer-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,9 @@ jobs:
tar -czvf $ZIP_FILE_NAME "$ARTIFACT"
- name: Upload release archive
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ inputs.upload_url }}
asset_path: ./${{ env.ZIP_FILE_NAME }}
asset_name: ${{ env.ZIP_FILE_NAME }}
asset_content_type: application/gzip
files:
${{ env.ZIP_FILE_NAME }}
8 changes: 3 additions & 5 deletions .github/workflows/nightly-forc-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,9 @@ jobs:
tar -czvf $ZIP_FILE_NAME ./forc-binaries
- name: Archive forc binaries
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ inputs.upload_url }}
asset_path: ./${{ env.ZIP_FILE_NAME }}
asset_name: ${{ env.ZIP_FILE_NAME }}
asset_content_type: application/gzip
files:
${{ env.ZIP_FILE_NAME }}
8 changes: 3 additions & 5 deletions .github/workflows/nightly-forc-wallet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,9 @@ jobs:
tar -czvf $ZIP_FILE_NAME "$ARTIFACT"
- name: Upload release archive
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ inputs.upload_url }}
asset_path: ./${{ env.ZIP_FILE_NAME }}
asset_name: ${{ env.ZIP_FILE_NAME }}
asset_content_type: application/gzip
files:
${{ env.ZIP_FILE_NAME }}
8 changes: 3 additions & 5 deletions .github/workflows/nightly-fuel-core-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,9 @@ jobs:
tar -czvf "$ZIP_FILE_NAME" "$ARTIFACT"
- name: Upload Binary Artifact
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ inputs.upload_url }}
asset_path: ./${{ env.ZIP_FILE_NAME }}
asset_name: ${{ env.ZIP_FILE_NAME }}
asset_content_type: application/gzip
files:
${{ env.ZIP_FILE_NAME }}

0 comments on commit 9996738

Please sign in to comment.