Skip to content

Commit 6cf9ac1

Browse files
ci: Change conditional for cachix action
change conditional from provider:nutanix to runs-on:self-hosted-ncn-dind
1 parent ed33378 commit 6cf9ac1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/e2e.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,18 @@ jobs:
3939
with:
4040
fetch-depth: 0
4141

42+
# Install nix using cachix/install-nix-action if running on ARC runners
43+
# See: https://github.com/DeterminateSystems/nix-installer-action/issues/68
4244
- uses: cachix/install-nix-action@V27
43-
if: inputs.provider == 'Nutanix'
45+
if: inputs.runs-on == 'self-hosted-ncn-dind'
4446
with:
4547
github_access_token: ${{ secrets.GITHUB_TOKEN }}
4648

4749
- name: Install devbox
4850
uses: jetify-com/[email protected]
4951
with:
5052
enable-cache: "true"
51-
skip-nix-installation: ${{ inputs.provider == 'Nutanix' }}
53+
skip-nix-installation: ${{ inputs.runs-on == 'self-hosted-ncn-dind' }}
5254

5355
- name: Go cache
5456
uses: actions/cache@v4
@@ -60,7 +62,7 @@ jobs:
6062
restore-keys: |
6163
${{ runner.os }}-go-
6264
63-
# The default disk size of these runners is ~14GB, this is not enough to run the e2e tests.
65+
# The default disk size of Github hosted runners is ~14GB, this is not enough to run the e2e tests.
6466
# Cleanup the disk, see upstream discussion https://github.com/actions/runner-images/issues/2840.
6567
- name: Cleanup Disk Space
6668
if: inputs.runs-on != 'self-hosted-ncn-dind'

0 commit comments

Comments
 (0)