Skip to content

Commit

Permalink
Specify archive format and use it (#44)
Browse files Browse the repository at this point in the history
Co-authored-by: Max Murphy <[email protected]>
  • Loading branch information
bitdivine and bitdivine committed Sep 19, 2023
1 parent 733e09d commit 36d36e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ic-wasm
file: ${{ matrix.binstall_name }}
asset_name: ${{ matrix.binstall_name }}
tag: ${{ github.ref }}
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ wasm-opt = ["dep:wasm-opt", "tempfile"]

[dev-dependencies]
assert_cmd = "2"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/{ version }/{ name }-{ target }{ archive-suffix }"
pkg-fmt = "tgz" # archive-suffix = .tar.gz

0 comments on commit 36d36e9

Please sign in to comment.