Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
trying to fix the choco and npm deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-flinn committed Oct 27, 2021
1 parent 807919e commit 3fc7aa9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:

snap:
name: Deploy Snap
if: false
runs-on: ubuntu-20.04
needs: setup
env:
Expand Down Expand Up @@ -126,23 +127,32 @@ 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:
workflow: build.yml
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
Expand Down

0 comments on commit 3fc7aa9

Please sign in to comment.