Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kalepail committed Jun 15, 2024
1 parent d460a77 commit aad5eab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ on:
required: true
type: string

# on:
# push:
# tags:
# - 'v*'

jobs:

release-contract-webauthn-factory:
Expand All @@ -22,7 +17,6 @@ jobs:
release_description: 'Release of the factory contract'
relative_path: 'contracts'
package: 'webauthn-factory'
# make_target: 'build-dependencies'
secrets:
release_token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -33,6 +27,5 @@ jobs:
release_description: 'Release of the secp256r1 contract'
relative_path: 'contracts'
package: 'webauthn-secp256r1'
# make_target: 'build-dependencies'
secrets:
release_token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 5 additions & 3 deletions contracts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
export SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
export SOROBAN_NETWORK_PASSPHRASE=Test SDF Network ; September 2015
export SOROBAN_ACCOUNT=default
export WEBAUTHN_FACTORY=CBXQAM53YVVPKAPS2NCSOCXTOK6HOXA3JLURVLD6VFQUHJPKFVBJIBHQ
export WEBAUTHN_WASM=38f3fe72fb3e12ab54f148fa18b5dafa8d046a24787a74a448333661359a3c6a
export WEBAUTHN_FACTORY=CBICUOEF4GSO4QCHN2TSCJIJEBBB37S4OHC6B2L4OWIOUCSI5PTWP7VG
export WEBAUTHN_WASM=d50e34db4fa24f40ebf4076062d5fc03d9c3f7f61952874edca95832e5c4b478

build:
rm -rf out/

rm -rf contract-webauthn-factory/target/wasm32-unknown-unknown/
@cd contract-webauthn-factory && soroban contract build --out-dir ../out
soroban contract optimize --wasm ./out/webauthn_factory.wasm

rm -rf contract-webauthn-secp256r1/target/wasm32-unknown-unknown/
@cd contract-webauthn-secp256r1 && soroban contract build --out-dir ../out
soroban contract optimize --wasm ./out/webauthn_secp256r1.wasm
Expand All @@ -36,5 +36,7 @@ fmt:

clean:
rm -rf out/
rm -rf contract-webauthn-factory/target/
rm -rf contract-webauthn-secp256r1/target/
@cd contract-webauthn-factory && cargo clean
@cd contract-webauthn-secp256r1 && cargo clean
2 changes: 1 addition & 1 deletion contracts/contract-webauthn-factory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ testutils = ["soroban-sdk/testutils"]
[dependencies]
soroban-sdk = { workspace = true }

[dev_dependencies]
[dev-dependencies]
soroban-sdk = { workspace = true, features = ["testutils"] }

0 comments on commit aad5eab

Please sign in to comment.