mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-28 03:21:40 +01:00
fixing the cli release workflow (#399)
This commit is contained in:
parent
3e05935262
commit
8250a99524
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@ -126,6 +126,10 @@ jobs:
|
||||
env:
|
||||
CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }}
|
||||
|
||||
- name: Make dist dir
|
||||
shell: pwsh
|
||||
run: New-Item -ItemType directory -Path ./dist
|
||||
|
||||
- name: Download artifacts
|
||||
uses: bitwarden/gh-actions/download-artifacts@23433be15ed6fd046ce12b6889c5184a8d9c8783
|
||||
with:
|
||||
@ -133,16 +137,21 @@ jobs:
|
||||
workflow_conclusion: success
|
||||
branch: release
|
||||
artifacts: bitwarden-cli.${{ env._PKG_VERSION }}.nupkg
|
||||
path: ./dist
|
||||
|
||||
- name: Push to Chocolatey
|
||||
shell: pwsh
|
||||
run: choco push
|
||||
run: |
|
||||
cd dist
|
||||
choco push
|
||||
|
||||
|
||||
npm:
|
||||
name: Publish NPM
|
||||
runs-on: ubuntu-20.04
|
||||
needs: setup
|
||||
env:
|
||||
_PKG_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
@ -155,7 +164,7 @@ jobs:
|
||||
workflow: build.yml
|
||||
workflow_conclusion: success
|
||||
branch: release
|
||||
artifacts: bitwarden-cli-${{ env._PACKAGE_VERSION }}-npm-build.zip
|
||||
artifacts: bitwarden-cli-${{ env._PKG_VERSION }}-npm-build.zip
|
||||
|
||||
- name: Setup NPM
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user