ci: damn it

This commit is contained in:
EvolutionX
2022-06-22 13:02:44 +05:30
parent 81eabff53e
commit 361e6451a7

View File

@@ -4,10 +4,6 @@ on:
release:
types: [published]
workflow_dispatch:
inputs:
tag:
description: The tag of the package
required: true
jobs:
Publish:
@@ -34,8 +30,6 @@ jobs:
run: sern
- name: Publish to npm
run: |
TAG=$([[ ${{ github.event_name }} == 'release' ]] && echo 'latest' || echo '${{ github.event.inputs.tag }}')
npm publish --tag ${TAG}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}