Skip to content

Merge pull request #131 from argyle-systems/release-5.10.1 #21

Merge pull request #131 from argyle-systems/release-5.10.1

Merge pull request #131 from argyle-systems/release-5.10.1 #21

Workflow file for this run

name: publish-sdk
on:
push:
tags:
- '*.*.*'
jobs:
publish-sdk:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
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