From a6365479a1ac578b7c441a2f5fc7e274eaaa5e91 Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Wed, 4 Feb 2026 23:25:30 -0500 Subject: [PATCH 1/2] fix(package-release): add working-directory to pypi publish step --- .github/workflows/package-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package-release.yaml b/.github/workflows/package-release.yaml index b4d9676..0916af9 100644 --- a/.github/workflows/package-release.yaml +++ b/.github/workflows/package-release.yaml @@ -221,7 +221,7 @@ jobs: - name: Publish to PyPI if: steps.cache.outputs.should-run == 'true' && inputs.build-wheels != 'true' && steps.semantic-release.outputs.new_release_published == 'true' && inputs.release-dry-run != 'true' - continue-on-error: true + working-directory: ${{ inputs.package-path }} run: nix develop --accept-flake-config -c uv publish env: UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }} From 164fd0e93747ef4c8d88e8733b5e85014596581f Mon Sep 17 00:00:00 2001 From: Cameron Smith Date: Wed, 4 Feb 2026 23:30:11 -0500 Subject: [PATCH 2/2] fix(deploy-docs): use setup-nix Signed-off-by: Cameron Smith --- .github/workflows/deploy-docs.yaml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/deploy-docs.yaml index d78595c..4d0ce3e 100644 --- a/.github/workflows/deploy-docs.yaml +++ b/.github/workflows/deploy-docs.yaml @@ -55,22 +55,14 @@ jobs: with: ref: ${{ inputs.branch }} - - name: Install nix - uses: DeterminateSystems/nix-installer-action@786fff0690178f1234e4e1fe9b536e94f5433196 # ratchet:DeterminateSystems/nix-installer-action@v20 + - name: Setup Nix + uses: ./.github/actions/setup-nix with: - extra-conf: "system-features = nixos-test benchmark big-parallel kvm" - # - name: Install Nix - # uses: nixbuild/nix-quick-install-action@v33 - # with: - # nix_conf: "system-features = nixos-test benchmark big-parallel kvm" - - name: Setup remote cache - # TODO: disable continue-on-error https://www.github.com/cachix/cachix-action/issues/200 - uses: cachix/cachix-action@41f25c0d23388f1a854cc67abb62029877468386 # ratchet:cachix/cachix-action@master - continue-on-error: true - with: - name: "${{ vars.CACHIX_CACHE_NAME }}" - authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - extraPullNames: nix-community,poetry2nix,celldynamics,pyproject-nix,sciexp + system: x86_64-linux + enable-cachix: true + cachix-name: ${{ vars.CACHIX_CACHE_NAME }} + cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }} + extra-pull-names: nix-community,poetry2nix,celldynamics,pyproject-nix,sciexp - name: Setup tmate debug session uses: mxschmitt/action-tmate@e5c7151931ca95bad1c6f4190c730ecf8c7dde48 # ratchet:mxschmitt/action-tmate@v3