fix deprecated add-path on github actions windows workflow
This commit is contained in:
parent
94d1f8d9fc
commit
1368813fb4
|
|
@ -9,12 +9,12 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Downlaod Jom
|
- name: Download Jom
|
||||||
run: |
|
run: |
|
||||||
Invoke-WebRequest -Uri "http://download.qt.io/official_releases/jom/jom_1_1_3.zip" -OutFile "jom_1_1_3.zip"
|
Invoke-WebRequest -Uri "http://download.qt.io/official_releases/jom/jom_1_1_3.zip" -OutFile "jom_1_1_3.zip"
|
||||||
New-Item -Name "jom" -ItemType "directory"
|
New-Item -Name "jom" -ItemType "directory"
|
||||||
Expand-Archive -Path jom_1_1_3.zip -DestinationPath .\jom
|
Expand-Archive -Path jom_1_1_3.zip -DestinationPath .\jom
|
||||||
echo "::add-path::$(Get-Location)\jom"
|
echo "$(Get-Location)\jom" >> GITHUB_PATH
|
||||||
- name: Setup env variables
|
- name: Setup env variables
|
||||||
id: envs
|
id: envs
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue