From 874016b7858ece367bd583640bddaf8f1f67a307 Mon Sep 17 00:00:00 2001 From: Rafael Oleza Date: Tue, 19 Mar 2019 21:56:28 +0100 Subject: [PATCH] Add GITHUB_TOKEN env var to the npm install step (take 2) This will prevent issues when installing the `vscode-ripgrep` package --- script/vsts/platforms/linux.yml | 1 + script/vsts/platforms/macos.yml | 1 + script/vsts/platforms/windows.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/script/vsts/platforms/linux.yml b/script/vsts/platforms/linux.yml index 3ebb2a6bd..66fe73856 100644 --- a/script/vsts/platforms/linux.yml +++ b/script/vsts/platforms/linux.yml @@ -14,6 +14,7 @@ jobs: steps: - script: script/build --create-debian-package --create-rpm-package --compress-artifacts env: + GITHUB_TOKEN: $(GITHUB_TOKEN) ATOM_RELEASE_VERSION: $(ReleaseVersion) displayName: Build Atom diff --git a/script/vsts/platforms/macos.yml b/script/vsts/platforms/macos.yml index 0d8a28019..f613bf15a 100644 --- a/script/vsts/platforms/macos.yml +++ b/script/vsts/platforms/macos.yml @@ -27,6 +27,7 @@ jobs: fi displayName: Build Atom env: + GITHUB_TOKEN: $(GITHUB_TOKEN) IS_RELEASE_BRANCH: $(IsReleaseBranch) IS_SIGNED_ZIP_BRANCH: $(IsSignedZipBranch) ATOM_RELEASE_VERSION: $(ReleaseVersion) diff --git a/script/vsts/platforms/windows.yml b/script/vsts/platforms/windows.yml index 019b59730..af8c8dc64 100644 --- a/script/vsts/platforms/windows.yml +++ b/script/vsts/platforms/windows.yml @@ -52,6 +52,7 @@ jobs: ) ) env: + GITHUB_TOKEN: $(GITHUB_TOKEN) BUILD_ARCH: $(buildArch) ATOM_RELEASE_VERSION: $(ReleaseVersion) ATOM_WIN_CODE_SIGNING_CERT_DOWNLOAD_URL: $(ATOM_WIN_CODE_SIGNING_CERT_DOWNLOAD_URL)