Skip to content

Commit

Permalink
use softprops to upload asset
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Apr 18, 2024
1 parent 1d806f9 commit 65f83cf
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,12 @@ jobs:
just compose
- name: Archive build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: wasm-artifact
path: dist/peerpiper_wallet_aggregate.wasm

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/peerpiper_wallet_aggregate.wasm
asset_name: peerpiper_wallet_aggregate.wasm
asset_content_type: application/wasm
files: peerpiper_wallet_aggregate.wasm

0 comments on commit 65f83cf

Please sign in to comment.