Skip to content

Commit 4dad26a

Browse files
authored
ci: use ubuntu-latest for release workflow (#282)
* ci: use ubuntu-latest for release workflow The release job does not need a GPU to run its processes, but it was using the gpu-enabled runner. This runner also has an intense firewall, preventing it from accessing the node packages the release workflow needs. This changes uses the github-hosted ubuntu-latest instead. * ci: enable flakes for npx command
1 parent ba43622 commit 4dad26a

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
issues: write
1616
pull-requests: write
1717
name: Build Publish Library - Linux-x86_64
18-
runs-on: public-blitzar-T4-gpu-vm
18+
runs-on: ubuntu-latest
1919
timeout-minutes: 600
2020
needs: [test-check-lint]
2121
environment: deploy #!! DO NOT CHANGE THIS LINE !! #
@@ -25,10 +25,13 @@ jobs:
2525

2626
- run: git config --global --add safe.directory $(realpath .)
2727

28+
- name: Install nix
29+
uses: cachix/install-nix-action@v31
30+
2831
- name: Semantic release
2932
run: |
30-
nix develop --command npm install semantic-release
31-
TEST_TMPDIR=$HOME/.bazel_test_opt nix develop --command npx semantic-release
33+
nix develop --extra-experimental-features "nix-command flakes" --command npm install semantic-release
34+
TEST_TMPDIR=$HOME/.bazel_test_opt nix develop --extra-experimental-features "nix-command flakes" --command npx semantic-release
3235
env:
3336
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3437
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

0 commit comments

Comments
 (0)