From 2a6add76db7c5da3ad0f68bae6a9db0424f8f756 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Mon, 14 Dec 2020 22:53:33 +0000 Subject: [PATCH] updating GH_TOKEN secret name because GITHUB_TOKEN wasn't valid --- .github/workflows/build.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d89ef0a601..46bd8cb57d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,13 +43,13 @@ jobs: sudo apt-get update sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm - - name: Set up snap - if: github.event_name == 'release' - run: | - sudo snap install snapcraft --classic - echo "$SNAP_TOKEN" | snapcraft login --with - - env: - SNAP_TOKEN: ${{ secrets.SNAP_TOKEN }} + # - name: Set up snap + # if: github.event_name == 'release' + # run: | + # sudo snap install snapcraft --classic + # echo "$SNAP_TOKEN" | snapcraft login --with - + # env: + # SNAP_TOKEN: ${{ secrets.SNAP_TOKEN }} - name: Print environment run: | @@ -129,14 +129,14 @@ jobs: run: echo "NODE_OPTIONS=--max_old_space_size=4096" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append shell: pwsh - - name: Set up environment - if: github.event_name == 'release' - shell: pwsh - run: | - choco install checksum --no-progress - choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/ - env: - CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }} + # - name: Set up environment + # if: github.event_name == 'release' + # shell: pwsh + # run: | + # choco install checksum --no-progress + # choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/ + # env: + # CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }} - name: Print environment run: | @@ -220,7 +220,7 @@ jobs: $env:RELEASE_TAG_NAME shell: pwsh env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} RELEASE_TAG_NAME: ${{ github.event.release.tag_name }} macos: @@ -366,5 +366,5 @@ jobs: $env:RELEASE_TAG_NAME shell: pwsh env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}