Skip to content

Merge pull request #109 from argyle-systems/5.7.1 #13

Merge pull request #109 from argyle-systems/5.7.1

Merge pull request #109 from argyle-systems/5.7.1 #13

Workflow file for this run

name: publish-sdk
on:
push:
tags:
- '*.*.*'
jobs:
publish-sdk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.2
- uses: actions/setup-node@v4.0.2
with:
node-version: 16
- id: tag
run: echo "DEPLOY_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Publish SDK
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_AUTH_TOKEN }}" >> .npmrc
sed -i "s/%LINK_VERSION%/${{ steps.tag.outputs.DEPLOY_TAG }}/g" package.json
npm publish