summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorbscan <10503608+bscan@users.noreply.github.com>2022-11-13 12:17:21 -0500
committerbscan <10503608+bscan@users.noreply.github.com>2022-11-13 12:17:21 -0500
commitc1d29333d7ae0d18e3ab13a3424826d48833e6f0 (patch)
tree6ee8ba9e6120cd778f53832a15f3301a3d8814a3 /.github
parent485fd5a014ea4b302163e6dbe4e9bda28e5e1e06 (diff)
downloadPerlNavigator-c1d29333d7ae0d18e3ab13a3424826d48833e6f0.zip
More Release Updates
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml14
1 files changed, 9 insertions, 5 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 79e5c44..57fb5f0 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -70,13 +70,17 @@ jobs:
asset_path: perlnavigator-win-x86_64.zip
asset_name: perlnavigator-win-x86_64.zip
asset_content_type: application/octet-stream
-
- - name: Publish to NPM
- uses: actions/setup-node@v3
+
+ publish-release:
+ needs: [create-release]
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
+ - run: npm ci
+ - run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}