Skip to content

Commit

Permalink
Do not nest github artifact wasm archive
Browse files Browse the repository at this point in the history
  • Loading branch information
yorhodes committed Jan 30, 2024
1 parent 94fed0f commit 635ebdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: wasm_codes
path: wasm_codes.zip
path: artifacts

coverage:
runs-on: ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ clean:
@rm -rf ./artifacts

install:
cargo install --force cw-optimizoor cosmwasm-check beaker
cargo install --force cw-optimizoor cosmwasm-check
rustup target add wasm32-unknown-unknown

schema:
Expand All @@ -13,10 +13,9 @@ build:
cargo build
cargo wasm
cargo cw-optimizoor
rename --force 's/(.*)-(.*)\.wasm/$$1\.wasm/d' artifacts/*

check: build
ls -d ./artifacts/*.wasm | xargs -I x cosmwasm-check x

ci-build: check
zip -jr wasm_codes.zip artifacts
rename --force 's/(.*)-(.*)\.wasm/$$1\.wasm/d' artifacts/*

0 comments on commit 635ebdf

Please sign in to comment.