From 267313c204ce8b23fd20154b9e786b8f63a64395 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Wed, 9 Jul 2025 22:43:34 +0100 Subject: [PATCH] Parallelise publish --- .github/workflows/check.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7108333..df2c38c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -44,7 +44,17 @@ jobs: cargo test --features wasm wasm-pack test --node --features wasm - publish: + publish-crate: + needs: build + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' + + steps: + - uses: actions/checkout@v4 + - name: Publish to crates.io + run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} + + publish-npm: needs: build runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' @@ -67,9 +77,6 @@ jobs: run: | wasm-pack build --target web --features wasm - - name: Publish to crates.io - run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} - - name: Build reconcile-js run: | cd reconcile-js