From 65380ea4c560670b251abac6cbfede42488fd0dc Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Tue, 12 Jan 2021 22:02:01 +0000 Subject: [PATCH] manually adding the pkg-fetch binary --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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: |