From 1f51afcee91ee2324085f13e0aa63500e2767e17 Mon Sep 17 00:00:00 2001 From: gnarlycow Date: Sun, 28 Jul 2024 21:30:57 -0700 Subject: [PATCH] Delete cargo publish CI. --- .github/workflows/publish.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d5cf475..0a81161 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,9 +4,6 @@ on: release: types: [ published ] -env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - jobs: npm_publish: runs-on: ubuntu-latest @@ -33,31 +30,3 @@ jobs: - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - cargo_publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Use Node.js 20.x - uses: actions/setup-node@v4 - with: - node-version: 20.x - cache: "yarn" - cache-dependency-path: "yarn.lock" - - - name: Install dependencies 📦 - run: yarn install --frozen-lockfile - - - name: Install Foundry - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly - - - name: Generate contract Rust bindings - run: forge bind -b src/bindings/ --module --overwrite - - - name: Publish to crates.io - run: cargo publish --allow-dirty