diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bcb355744b..5dbbfb1ef5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: |