Skip to content

Commit 569028a

Browse files
committed
ci(windows): fix the command adding rustup to $PATH
1 parent 4031dd7 commit 569028a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
${{ matrix.gcc }} --version
8181
- name: Set PATH
8282
run: |
83-
echo "%USERPROFILE%\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
83+
echo "${env:USERPROFILE}\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
8484
echo "TARGET=${{ matrix.target }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
8585
- name: Skip tests
8686
if: matrix.run_tests == '' || matrix.mode == 'release'
@@ -244,7 +244,7 @@ jobs:
244244
${{ matrix.gcc }} --version
245245
- name: Set PATH
246246
run: |
247-
echo "%USERPROFILE%\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
247+
echo "${env:USERPROFILE}\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
248248
echo "TARGET=${{ matrix.target }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
249249
- name: Skip tests
250250
if: matrix.run_tests == '' || matrix.mode == 'release'
@@ -414,7 +414,7 @@ jobs:
414414
${{ matrix.gcc }} --version
415415
- name: Set PATH
416416
run: |
417-
echo "%USERPROFILE%\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
417+
echo "${env:USERPROFILE}\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
418418
echo "TARGET=${{ matrix.target }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
419419
- name: Skip tests
420420
if: matrix.run_tests == '' || matrix.mode == 'release'

ci/actions-templates/windows-builds-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs: # skip-master skip-pr skip-stable
7373
${{ matrix.gcc }} --version
7474
- name: Set PATH
7575
run: |
76-
echo "%USERPROFILE%\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
76+
echo "${env:USERPROFILE}\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
7777
echo "TARGET=${{ matrix.target }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
7878
- name: Skip tests
7979
if: matrix.run_tests == '' || matrix.mode == 'release'

0 commit comments

Comments
 (0)