From 7dbcdbdd2ee925364e531ec90457b44683721e19 Mon Sep 17 00:00:00 2001 From: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com> Date: Wed, 3 Feb 2021 10:12:18 -0800 Subject: [PATCH] fixing the snap package name and adding an npm install to the npm release (#227) --- .github/workflows/deploy.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index aee82a8008..e9bf381ed2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -72,7 +72,7 @@ jobs: - name: setup run: mkdir dist - - name: Test getting choco release asset - windows + - name: Get snap release assets uses: Xotl/cool-github-releases@v1 with: mode: download @@ -85,7 +85,7 @@ jobs: - name: Publish Snap & logout run: | - snapcraft push ./dist/bw_${{ env.PACKAGE_VERSION }}_amd64.snap --release stable + snapcraft push ./dist/bw_${{ env.PKG_VERSION }}_amd64.snap --release stable snapcraft logout @@ -109,7 +109,7 @@ jobs: shell: pwsh run: New-Item -ItemType directory -Path ./dist - - name: Test getting choco release asset - windows + - name: Get nupkg release asset uses: Xotl/cool-github-releases@v1 with: mode: download @@ -138,5 +138,8 @@ jobs: env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: npm install + run: npm install + - name: Publish NPM run: npm run publish:npm