Skip to content

Commit bed926c

Browse files
committed
Add release mechanism
1 parent 8589450 commit bed926c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
push:
3+
branches-ignore:
4+
- '*'
5+
tags:
6+
- 'v*'
7+
workflow_dispatch:
8+
env:
9+
GH_TOKEN_DISPATCH: ${{ secrets.GH_TOKEN_DISPATCH }}
10+
11+
jobs:
12+
tagged-release:
13+
name: "Tagged Release"
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Use Node.js 14.17.0
18+
uses: actions/setup-node@v1
19+
- name: Build
20+
run: ${GITHUB_WORKSPACE}/.github/actions/build.sh
21+
- uses: "marvinpinto/action-automatic-releases@v1.2.1"
22+
with:
23+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
24+
prerelease: false
25+
files: |
26+
build/*.zip

0 commit comments

Comments
 (0)