Skip to content

Commit

Permalink
Merge pull request #286 from zama-ai/feat/add-ci-prerelease
Browse files Browse the repository at this point in the history
Feat/add ci prerelease
  • Loading branch information
immortal-tofu authored Feb 16, 2024
2 parents be26ff0 + cc600fa commit add0985
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Publish fhEVM Solidity
name: Publish fhEVM Solidity release

on:
release:
types: [created]
types: [released]

jobs:
publish:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/publishprerelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish fhEVM Solidity prerelease

on:
release:
types: [prereleased]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
- run: cp .env.example .env
- run: npm ci
- run: npm run compile
- uses: JS-DevTools/npm-publish@0f451a94170d1699fd50710966d48fb26194d939
with:
tag: prerelease
token: ${{ secrets.NPM_TOKEN }}
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.3.0",
"version": "0.4.0-0",
"main": "lib/TFHE.sol",
"directories": {
"example": "examples",
Expand Down

0 comments on commit add0985

Please sign in to comment.