this repo has no description

Merge pull request #26071 from kit-ty-kate/windows-ci

GHA windows: fix PATH on cache-miss

Changed files
+4 -4
.github
workflows
+4 -4
.github/workflows/windows.yml
···
run: |
Invoke-Expression "& { $(Invoke-RestMethod https://raw.githubusercontent.com/kit-ty-kate/opam/windows-installer.debug/shell/install.ps1) } -OpamBinDir 'D:\opam\bin' -NoSetPath -NoAdmin"
- name: Init opam
if: steps.cache-opam.outputs.cache-hit != 'true'
run: opam init --yes --no-setup .
···
D:\opam\bin
D:\opamroot
key: ${{ steps.cache-opam.outputs.cache-primary-key }}
-
-
- name: Add opam to PATH
-
run: |
-
"D:\opam\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Get changed files
id: changed-files
···
run: |
Invoke-Expression "& { $(Invoke-RestMethod https://raw.githubusercontent.com/kit-ty-kate/opam/windows-installer.debug/shell/install.ps1) } -OpamBinDir 'D:\opam\bin' -NoSetPath -NoAdmin"
+
- name: Add opam to PATH
+
run: |
+
"D:\opam\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+
- name: Init opam
if: steps.cache-opam.outputs.cache-hit != 'true'
run: opam init --yes --no-setup .
···
D:\opam\bin
D:\opamroot
key: ${{ steps.cache-opam.outputs.cache-primary-key }}
- name: Get changed files
id: changed-files