Skip to content

Commit

Permalink
Create update-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
amith-skyflow authored Dec 20, 2024
1 parent f83fa15 commit 64a645c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/update-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Update NPM Release

on:
push:
branches:
- fix-beta-tag

jobs:
build-sdk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: main
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: 14.17.6
registry-url: 'https://registry.npmjs.org'

- name: update beta tag
run: npm dist-tag add [email protected] beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: update to latest tag
run: npm dist-tag add [email protected] latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 64a645c

Please sign in to comment.