From 7d959ffffb70776fb568026135774ecf1247e060 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Wed, 12 May 2021 10:53:20 -0700 Subject: [PATCH] fixing the choco release asset grab --- .github/workflows/deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b8f44df1ce..d369462c46 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -101,12 +101,12 @@ jobs: uses: actions/checkout@v2 - name: Get choco release asset - uses: dsaltares/fetch-gh-release-asset@0.0.5 + uses: Xotl/cool-github-releases@v1 with: - version: tags/${{ env.TAG_VERSION }} - file: bitwarden.${{ env.PKG_VERSION }}.nupkg - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + mode: download + tag_name: ${{ env.TAG_VERSION }} + assets: bitwarden.${{ env.PKG_VERSION }}.nupkg + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Chocolatey run: choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/