fix deprecated add-path on github actions windows workflow

This commit is contained in:
alemuntoni 2020-12-01 11:59:49 +01:00
parent 94d1f8d9fc
commit 1368813fb4
1 changed files with 2 additions and 2 deletions

View File

@ -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: |