Skip to content

Commit d56322e

Browse files
committed
fix: activate candidates with container-native paths and Python 3
1 parent 9f15d0f commit d56322e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/fresh-install.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ permissions:
6363
env:
6464
XLINGS_NON_INTERACTIVE: '1'
6565
D2X_CANDIDATE_SHA: ${{ inputs.candidate_sha }}
66-
D2X_CANDIDATE_DIR: ${{ github.workspace }}/.d2x/candidate
66+
D2X_CANDIDATE_DIR: .d2x/candidate
6767

6868
jobs:
6969
native:
@@ -93,7 +93,7 @@ jobs:
9393
- name: Verify explicit candidate provenance
9494
if: inputs.candidate_run != ''
9595
shell: bash
96-
run: python scripts/ci/candidate.py
96+
run: ${{ runner.os == 'Windows' && 'python' || 'python3' }} scripts/ci/candidate.py
9797
- name: Select an empty toolchain home
9898
shell: bash
9999
run: echo "MCPP_HOME=$RUNNER_TEMP/d2mcpp-fresh" >> "$GITHUB_ENV"
@@ -182,7 +182,7 @@ jobs:
182182
- name: Verify explicit candidate provenance
183183
if: inputs.candidate_run != ''
184184
shell: bash
185-
run: python scripts/ci/candidate.py
185+
run: ${{ runner.os == 'Windows' && 'python' || 'python3' }} scripts/ci/candidate.py
186186
- name: Give the ordinary user a fresh checkout
187187
shell: bash
188188
env:

0 commit comments

Comments
 (0)