1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-07 11:03:30 +00:00

BRE-272 - Fix Publish Workflows (#10693)

This commit is contained in:
Vince Grassia
2024-08-23 07:54:51 -04:00
committed by GitHub
parent 6f8ad2414f
commit 49810beb24
2 changed files with 15 additions and 27 deletions

View File

@@ -152,14 +152,13 @@ jobs:
run: New-Item -ItemType directory -Path ./dist
- name: Download artifacts
shell: bash
run: wget https://github.com/bitwarden/clients/releases/download/cli-v${{ env._PKG_VERSION }}/bitwarden-cli.${{ env._PKG_VERSION }}.nupkg
run: Invoke-WebRequest -Uri "https://github.com/bitwarden/clients/releases/download/cli-v${{ env._PKG_VERSION }}/bitwarden-cli.${{ env._PKG_VERSION }}.nupkg" -OutFile bitwarden-cli.${{ env._PKG_VERSION }}.nupkg
working-directory: apps/cli/dist
- name: Push to Chocolatey
if: ${{ inputs.publish_type != 'Dry Run' }}
run: |
cd dist
choco push --source=https://push.chocolatey.org/
run: choco push --source=https://push.chocolatey.org/
working-directory: apps/cli/dist
npm:
name: Publish NPM