Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/library-solidity-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,31 @@ jobs:
package: ./library-solidity/package.json
provenance: true
access: public

publish-soldeer:
name: library-solidity-publish/publish-soldeer
if: ${{ inputs.release == 'true' }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./library-solidity
permissions:
contents: "read"
steps:
- name: Check out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: "false"

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@8789b3e21e6c11b2697f5eb56eddae542f746c10 # v1

- name: Read version from package.json
id: version
run: echo "version=$(node -p 'require("./package.json").version')" >> "$GITHUB_OUTPUT"

- name: Publish to Soldeer
env:
SOLDEER_API_TOKEN: ${{ secrets.SOLDEER_TOKEN }}
VERSION: ${{ steps.version.outputs.version }}
run: forge soldeer push "@fhevm-solidity~${VERSION}" . --skip-warnings
47 changes: 47 additions & 0 deletions library-solidity/.soldeerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# CI & config files
ci/
.github/

# Node.js
node_modules/
package.json
package-lock.json

# Config & tooling
.env*
.eslintignore
.eslintrc.yml
.gitpod.yml
.lintstagedrc.json
.npmignore
.prettierignore
.prettierrc.json
.solcover.js
.solhintignore
hardhat.config.ts
tsconfig.json
commitlint.config.ts
codegen.config.json
mlc_config.json
foundry.toml
remappings.txt
soldeer.lock
CustomProvider.ts

# Source directories not needed by consumers
codegen/
test/
tasks/
examples/
lib-js/
dependencies/

# Build artifacts
artifacts/
cache/
cache_forge/
out/
types/
typechain/
typechain-types/
coverage/
Loading