1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +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 -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 }}