Skip to content

Commit

Permalink
Try importing keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifropc committed Dec 18, 2024
1 parent 72fc9c4 commit 95b23a9
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/bindings-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,6 @@ jobs:
done;
if: runner.os == 'windows'
shell: wsl-run {0}
- run: curl http://localhost:8000/friendbot?addr=GA3NSVQ4OYLW6LHQMROQ7BRJ7UTWVM5TSCJEXDE4AUW73SUYWLKJ42GW
if: runner.os != 'windows'
shell: bash
- run: curl http://localhost:8000/friendbot?addr=GA3NSVQ4OYLW6LHQMROQ7BRJ7UTWVM5TSCJEXDE4AUW73SUYWLKJ42GW
if: runner.os == 'windows'
shell: wsl-run {0}
- run: Invoke-RestMethod -Uri http://localhost:8000/friendbot?addr=GDMSMNH2Y4RONFEZT6U7SCZP34L5XAAXWHQKELXUW6D2CUT6HNNBEXXY
if: runner.os == 'windows'
- run: rustup update
- run: cargo build
- run: rustup target add wasm32-unknown-unknown
Expand All @@ -121,8 +113,8 @@ jobs:
Write-Host "Running npm build"
npm ci --ignore-scripts
Write-Host "Generating keys"
cargo run -p stellar-cli -- keys generate root
cargo run -p stellar-cli -- keys fund root
Write-Host "SC5NRVW24PTAE2TM4M7VVZSCYUNVCBSZOSNRSHFU2XVYZGNMFV6YVLLX" | cargo run -p stellar-cli -- keys add --secret-key root
Invoke-RestMethod -Uri http://localhost:8000/friendbot?addr=GBCNICNDLG2SQ3AIHJTB3G7AMGR4SZZJISYYQENZR7TETHTZHRCSEAWC
Write-Host "Deploying contract"
cargo run -p stellar-cli -- contract deploy --quiet --alias custom-types --source root --wasm ../../../../target/wasm32-unknown-unknown/test-wasms/test_custom_types.wasm --ignore-checks
Write-Host "Generating bindings"
Expand Down

0 comments on commit 95b23a9

Please sign in to comment.