Skip to content

Commit

Permalink
Merge pull request #158 from zama-ai/contracts/fixWorkflow
Browse files Browse the repository at this point in the history
chore: fix workflows
  • Loading branch information
jatZama authored Dec 2, 2024
2 parents 532da94 + 622dac8 commit a2acb03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/fhevm-core-contracts-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./contracts
permissions:
id-token: "write"
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20.x
- run: cd contracts
- run: .env.example .env
- run: cp .env.example .env
- run: npm ci --include=optional
- run: npm run compile
- uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/fhevm-core-contracts-publishprerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./contracts
permissions:
id-token: "write"
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20.x
- run: cd contracts
- run: cp .env.example .env
- run: npm ci --include=optional
- run: npm run compile
Expand Down

0 comments on commit a2acb03

Please sign in to comment.