From 4ae25c5db57aa1c3b664898740a01e5b6bd975e6 Mon Sep 17 00:00:00 2001 From: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com> Date: Wed, 3 Feb 2021 10:42:11 -0800 Subject: [PATCH] Fix deploy workflow (#228) * fixing the snap package name and adding an npm install to the npm release * fixing the manual deploy parser --- .github/workflows/deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e9bf381ed2..2c273ab8a5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,7 +24,7 @@ jobs: - name: Create Deploy version vars id: create_tags run: | - if ! [[ "${{ github.event_name }}" -eq "release" ]]; then + if [ "${{ github.event_name }}" != "release" ]; then case "${RELEASE_TAG_NAME_INPUT:0:1}" in v) echo "RELEASE_NAME=${RELEASE_TAG_NAME_INPUT:1}" >> $GITHUB_ENV @@ -137,6 +137,11 @@ jobs: "//registry.npmjs.org/:_authToken=${env:NPM_TOKEN}" | Out-File ".npmrc" -Encoding UTF8 env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + + - name: npm setup + run: | + npm install + npm run sub:init - name: npm install run: npm install