Skip to content

Commit

Permalink
Fix: backport/inline prep-build-env
Browse files Browse the repository at this point in the history
  • Loading branch information
yfyf committed Jan 2, 2025
1 parent 1ad6653 commit 364df73
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Make more space available on the runner
run: |
sudo rm -rf /usr/share/dotnet \
/usr/local/lib/android \
/opt/ghc \
/opt/hostedtoolcache/CodeQL
- uses: ./.github/actions/prep-build-env
- name: Ensure KVM is usable by nix-build
run: sudo chmod a+rwx /dev/kvm
shell: bash
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
system-features = nixos-test benchmark big-parallel kvm
- uses: DeterminateSystems/magic-nix-cache-action@v8

- name: Make magic-nix-cache read-only by removing post-build-hook
run: sed -i '/post-build-hook = magic-nix-cache-build-hook/d' $HOME/.config/nix/nix.conf
Expand Down

0 comments on commit 364df73

Please sign in to comment.