armcord/.github/workflows/release.yml
2021-05-06 22:02:04 +02:00

52 lines
1.1 KiB
YAML

name: Release
on:
release:
types:
- created
jobs:
publish_on_linux:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 14
- name: install dependencies
run: npm install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.LUV }}
run: npm run publish
publish_on_mac:
runs-on: macos-latest
permissions: write-all
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 14
- name: install dependencies
run: npm install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.LUV }}
run: npm run publish
publish_on_win:
runs-on: windows-latest
permissions: write-all
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 14
- name: install dependencies
run: npm install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.LUV }}
run: npm run publish