2021-05-06 18:57:03 +00:00
|
|
|
name: Release
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types:
|
|
|
|
- created
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
publish_on_linux:
|
|
|
|
runs-on: ubuntu-latest
|
2021-05-06 19:57:45 +00:00
|
|
|
permissions: write-all
|
2021-05-06 18:57:03 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@master
|
|
|
|
with:
|
|
|
|
node-version: 14
|
|
|
|
- name: install dependencies
|
|
|
|
run: npm install
|
|
|
|
- name: publish
|
|
|
|
env:
|
2021-05-06 20:02:04 +00:00
|
|
|
GITHUB_TOKEN: ${{ secrets.LUV }}
|
2021-05-06 18:57:03 +00:00
|
|
|
run: npm run publish
|
|
|
|
|
|
|
|
publish_on_mac:
|
|
|
|
runs-on: macos-latest
|
2021-05-06 19:57:45 +00:00
|
|
|
permissions: write-all
|
2021-05-06 18:57:03 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@master
|
|
|
|
with:
|
|
|
|
node-version: 14
|
|
|
|
- name: install dependencies
|
|
|
|
run: npm install
|
|
|
|
- name: publish
|
|
|
|
env:
|
2021-05-06 20:02:04 +00:00
|
|
|
GITHUB_TOKEN: ${{ secrets.LUV }}
|
2021-05-06 18:57:03 +00:00
|
|
|
run: npm run publish
|
|
|
|
|
|
|
|
publish_on_win:
|
|
|
|
runs-on: windows-latest
|
2021-05-06 19:57:45 +00:00
|
|
|
permissions: write-all
|
2021-05-06 18:57:03 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@master
|
|
|
|
with:
|
|
|
|
node-version: 14
|
|
|
|
- name: install dependencies
|
|
|
|
run: npm install
|
|
|
|
- name: publish
|
|
|
|
env:
|
2021-05-06 20:02:04 +00:00
|
|
|
GITHUB_TOKEN: ${{ secrets.LUV }}
|
2021-05-06 18:57:03 +00:00
|
|
|
run: npm run publish
|