1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00

updating GH_TOKEN secret name because GITHUB_TOKEN wasn't valid

This commit is contained in:
Joseph Flinn 2020-12-14 22:53:33 +00:00
parent d68c62ab91
commit 2a6add76db

View File

@ -43,13 +43,13 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm
- name: Set up snap # - name: Set up snap
if: github.event_name == 'release' # if: github.event_name == 'release'
run: | # run: |
sudo snap install snapcraft --classic # sudo snap install snapcraft --classic
echo "$SNAP_TOKEN" | snapcraft login --with - # echo "$SNAP_TOKEN" | snapcraft login --with -
env: # env:
SNAP_TOKEN: ${{ secrets.SNAP_TOKEN }} # SNAP_TOKEN: ${{ secrets.SNAP_TOKEN }}
- name: Print environment - name: Print environment
run: | run: |
@ -129,14 +129,14 @@ jobs:
run: echo "NODE_OPTIONS=--max_old_space_size=4096" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append run: echo "NODE_OPTIONS=--max_old_space_size=4096" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh shell: pwsh
- name: Set up environment # - name: Set up environment
if: github.event_name == 'release' # if: github.event_name == 'release'
shell: pwsh # shell: pwsh
run: | # run: |
choco install checksum --no-progress # choco install checksum --no-progress
choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/ # choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/
env: # env:
CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }} # CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }}
- name: Print environment - name: Print environment
run: | run: |
@ -220,7 +220,7 @@ jobs:
$env:RELEASE_TAG_NAME $env:RELEASE_TAG_NAME
shell: pwsh shell: pwsh
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }} RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
macos: macos:
@ -366,5 +366,5 @@ jobs:
$env:RELEASE_TAG_NAME $env:RELEASE_TAG_NAME
shell: pwsh shell: pwsh
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }} RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}