Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Apr 2, 2024
1 parent 72ff4b8 commit 8b188d6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,11 @@ jobs:
path: target/near/voting_snapshot/*
if-no-files-found: error
overwrite: true
- uses: actions/upload-artifact@v4
if: env.GIT_DIFF
with:
name: snapshot-contract
path: target/near/voting_contract/*
if-no-files-found: error
overwrite: true

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
"build": "cargo build --target wasm32-unknown-unknown --release",
"test": "cargo test --release -- --nocapture",
"lint": "cargo fmt --all -- --check && cargo clippy --release -- -D warnings",
"cook": "npm run cookSnapshotContract && npm run cookSecret",
"cook": "npm run cookSnapshotContract && npm run cookSecret && npm run cookVoting",
"cookSnapshotContract": "cd contracts/voting_snapshot && cargo near build",
"cookSecret": "cd contracts/secret_contract && make build-mainnet"
"cookSecret": "cd contracts/secret_contract && make build-mainnet",
"cookVoting": "cd contracts/voting_contract && cargo near build"
},
"dependencies": {
"@supercharge/promise-pool": "^2.3.2",
Expand Down

0 comments on commit 8b188d6

Please sign in to comment.