Skip to content

Commit 6234009

Browse files
committed
[ci] Workaround a broken nix installation in the container
Signed-off-by: Douglas Reis <[email protected]>
1 parent f2e3ea4 commit 6234009

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ jobs:
126126
project_id: lowrisc-cloud-compute
127127
workload_identity_provider: projects/281751345158/locations/global/workloadIdentityPools/github-actions/providers/github-actions
128128
- uses: google-github-actions/setup-gcloud@v2
129+
130+
- name: Unistall Nix
131+
run: |
132+
sudo rm -rf /etc/nix /etc/profile.d/nix.sh /etc/tmpfiles.d/nix-daemon.conf \
133+
/nix ~root/.nix-channels ~root/.nix-defexpr ~root/.nix-profile ~root/.cache/nix
129134
130135
- name: Install Nix
131136
uses: cachix/install-nix-action@v27

0 commit comments

Comments
 (0)