From e0ac293279121456d3ad3bb5182cf12ef1d77ebc Mon Sep 17 00:00:00 2001 From: Peter Squicciarini Date: Fri, 18 Sep 2020 06:01:29 -0700 Subject: [PATCH] (experiment) set GITHUB_TOKEN env var --- .github/workflows/macos.yml | 2 ++ check_tags.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 47d8d65..624bd4b 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -26,6 +26,8 @@ jobs: echo "::set-env name=LATEST_MS_COMMIT::$LATEST_MS_COMMIT" - name: Check existing VSCodium tags/releases + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | . check_tags.sh echo "::set-env name=SHOULD_BUILD::$SHOULD_BUILD" diff --git a/check_tags.sh b/check_tags.sh index efa5a9b..b92a670 100755 --- a/check_tags.sh +++ b/check_tags.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -ex + if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then REPOSITORY=$GITHUB_REPOSITORY else