1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-14 02:08:50 +02: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 name: Publish Windows
runs-on: windows-latest runs-on: windows-latest
needs: build needs: build
#if: github.event_name == 'release' if: github.event_name == 'release'
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -193,32 +193,28 @@ jobs:
name: bitwarden-cli.${{ env.PACKAGE_VERSION }}.nupkg name: bitwarden-cli.${{ env.PACKAGE_VERSION }}.nupkg
path: ./dist/bitwarden-cli.${{ env.PACKAGE_VERSION }}.nupkg path: ./dist/bitwarden-cli.${{ env.PACKAGE_VERSION }}.nupkg
#- name: Setup Chocolatey - name: Setup Chocolatey
# run: choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/ run: 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: Publish - name: Publish
# run: | run: |
# .\scripts\choco-update.ps1 -version $env:PACKAGE_VERSION .\scripts\choco-update.ps1 -version $env:PACKAGE_VERSION
# Get-ChildItem dist Get-ChildItem dist
- name: Publish - name: Publish
shell: pwsh shell: pwsh
run: | run: |
# In place of ./scripts/choco-update.ps1 # In place of ./scripts/choco-update.ps1
cd ./dist cd ./dist
Get-ChildItem choco push
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
# This process seems independent from the others # This process seems independent from the others
build_snap: build_snap:
name: Build Snap name: Build Snap
runs-on: ubuntu-latest runs-on: ubuntu-latest
#if: github.event_name == 'release'
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -231,8 +227,6 @@ jobs:
- name: Install Snapcraft - name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1 uses: samuelmeuli/action-snapcraft@v1
#with:
# snapcraft_token: ${{ secrets.SNAP_TOKEN }}
- name: Print environment - name: Print environment
run: | run: |
@ -286,11 +280,10 @@ jobs:
path: ./dist/snap/bw-snap-sha256-${{ env.PACKAGE_VERSION }}.txt path: ./dist/snap/bw-snap-sha256-${{ env.PACKAGE_VERSION }}.txt
# This process seems independent from the others
publish_snap: publish_snap:
name: Publish Snap name: Publish Snap
runs-on: ubuntu-latest runs-on: ubuntu-latest
need: build_snap needs: build_snap
if: github.event_name == 'release' if: github.event_name == 'release'
steps: steps:
- name: Checkout repo - name: Checkout repo
@ -332,6 +325,7 @@ jobs:
# This job is independent: it reruns 'npm run build:prod' # This job is independent: it reruns 'npm run build:prod'
# Could be moved out a level
publish_npm: publish_npm:
name: Publish NPM name: Publish NPM
runs-on: ubuntu-latest runs-on: ubuntu-latest