manually adding the pkg-fetch binary

This commit is contained in:
Joseph Flinn 2021-01-12 22:02:01 +00:00
parent f65812b52c
commit 65380ea4c5
1 changed files with 8 additions and 1 deletions

View File

@ -38,6 +38,13 @@ jobs:
with:
node-version: '10.x'
- name: Install pkg-fetch
run: |
$fetchedUrl = "https://github.com/vercel/pkg-fetch/releases/download/v2.5/uploaded-v2.5-node-v10.4.1-win-x64"
New-Item -ItemType directory -Path .\.pkg-cache
Invoke-RestMethod -Uri $fetchedUrl -OutFile ".\.pkg-cache\fetched-v10.4.1-win-x64"
- name: Download & Install RH
shell: pwsh
run: |
@ -57,7 +64,7 @@ jobs:
}
.\scripts\make-versioninfo.ps1
env:
WIN_PKG: C:\Users\appveyor\.pkg-cache\v2.5\fetched-v10.4.1-win-x64
WIN_PKG: C:\Users\runneradmin\.pkg-cache\v2.5\fetched-v10.4.1-win-x64
- name: test setting env var
run: |