mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +00:00
parent
7fa43c3d11
commit
31b16a6bc5
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -7,6 +7,14 @@ on:
|
|||||||
description: "Set to 'true' to make a GitHub release"
|
description: "Set to 'true' to make a GitHub release"
|
||||||
required: true
|
required: true
|
||||||
default: "false"
|
default: "false"
|
||||||
|
npm_tag:
|
||||||
|
description: 'npm tag'
|
||||||
|
required: true
|
||||||
|
default: 'latest'
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- latest
|
||||||
|
- nightly
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@ -84,7 +92,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
npm i
|
npm i
|
||||||
npm run build
|
npm run build
|
||||||
npm publish --access public
|
npm publish --access public --tag "${{ github.event.inputs.npm_tag }}"
|
||||||
working-directory: ./npm
|
working-directory: ./npm
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user