Skip to content

Commit

Permalink
Merge pull request #631 from zama-ai/fixWorkflow2
Browse files Browse the repository at this point in the history
Fix workflow2
  • Loading branch information
jatZama authored Dec 3, 2024
2 parents 9298e89 + 0dcb44d commit 4e003a6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@ jobs:
- run: cp .env.example .env
- run: npm ci --include=optional
- run: mkdir node_modules/fhevm-core-contracts/addresses
- run: source .env
- run: npx hardhat task:computeGatewayAddress --private-key $PRIVATE_KEY_GATEWAY_DEPLOYER
- run: npx hardhat task:computeACLAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: npx hardhat task:computeTFHEExecutorAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: npx hardhat task:computeKMSVerifierAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: npx hardhat task:computeInputVerifierAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER --use-address false
- run: npx hardhat task:computeFHEPaymentAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: source .env && npx hardhat task:computeGatewayAddress --private-key $PRIVATE_KEY_GATEWAY_DEPLOYER
- run: source .env && npx hardhat task:computeACLAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: source .env && npx hardhat task:computeTFHEExecutorAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: source .env && npx hardhat task:computeKMSVerifierAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: source .env && npx hardhat task:computeInputVerifierAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER --use-address false
- run: source .env && npx hardhat task:computeFHEPaymentAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: npm run compile
- uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
with:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/publishprerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@ jobs:
- run: cp .env.example .env
- run: npm ci --include=optional
- run: mkdir node_modules/fhevm-core-contracts/addresses
- run: source .env
- run: npx hardhat task:computeGatewayAddress --private-key $PRIVATE_KEY_GATEWAY_DEPLOYER
- run: npx hardhat task:computeACLAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: npx hardhat task:computeTFHEExecutorAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: npx hardhat task:computeKMSVerifierAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: npx hardhat task:computeInputVerifierAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER --use-address false
- run: npx hardhat task:computeFHEPaymentAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: source .env && npx hardhat task:computeGatewayAddress --private-key $PRIVATE_KEY_GATEWAY_DEPLOYER
- run: source .env && npx hardhat task:computeACLAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: source .env && npx hardhat task:computeTFHEExecutorAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: source .env && npx hardhat task:computeKMSVerifierAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: source .env && npx hardhat task:computeInputVerifierAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER --use-address false
- run: source .env && npx hardhat task:computeFHEPaymentAddress --private-key $PRIVATE_KEY_FHEVM_DEPLOYER
- run: npm run compile
- uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
with:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fhevm",
"description": "A Solidity library for interacting with the Zama Blockchain",
"version": "0.6.0-4",
"version": "0.6.0-5",
"engines": {
"node": ">=20.0.0"
},
Expand Down

0 comments on commit 4e003a6

Please sign in to comment.