1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-30 08:10:34 +01:00

fixing a gh typo

This commit is contained in:
Joseph Flinn 2021-01-11 18:08:14 +00:00
parent dea6138f90
commit 94546b89ca

View File

@ -177,7 +177,7 @@ jobs:
name: Publish Windows
runs-on: windows-latest
needs: build
#if: github.event_name == 'release'
if: github.event_name == 'release'
steps:
- name: Checkout repo
uses: actions/checkout@v2
@ -193,32 +193,28 @@ jobs:
name: bitwarden-cli.${{ env.PACKAGE_VERSION }}.nupkg
path: ./dist/bitwarden-cli.${{ env.PACKAGE_VERSION }}.nupkg
#- name: Setup Chocolatey
# run: choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/
# env:
# CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }}
- name: Setup Chocolatey
run: choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/
env:
CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }}
#- name: Publish
# run: |
# .\scripts\choco-update.ps1 -version $env:PACKAGE_VERSION
# Get-ChildItem dist
- name: Publish
run: |
.\scripts\choco-update.ps1 -version $env:PACKAGE_VERSION
Get-ChildItem dist
- name: Publish
shell: pwsh
run: |
# In place of ./scripts/choco-update.ps1
cd ./dist
Get-ChildItem
Write-Host "[+] Intead of pushing with choco, we are testing and writing this out"
Write-Host " Nuget Packge: bitwarden-cli.${{ env.PACKAGE_VERSION }}.nupkg"
#choco push
choco push
# This process seems independent from the others
build_snap:
name: Build Snap
runs-on: ubuntu-latest
#if: github.event_name == 'release'
steps:
- name: Checkout repo
uses: actions/checkout@v2
@ -231,8 +227,6 @@ jobs:
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
#with:
# snapcraft_token: ${{ secrets.SNAP_TOKEN }}
- name: Print environment
run: |
@ -286,11 +280,10 @@ jobs:
path: ./dist/snap/bw-snap-sha256-${{ env.PACKAGE_VERSION }}.txt
# This process seems independent from the others
publish_snap:
name: Publish Snap
runs-on: ubuntu-latest
need: build_snap
needs: build_snap
if: github.event_name == 'release'
steps:
- name: Checkout repo
@ -332,6 +325,7 @@ jobs:
# This job is independent: it reruns 'npm run build:prod'
# Could be moved out a level
publish_npm:
name: Publish NPM
runs-on: ubuntu-latest