Skip to content

Commit bd1d654

Browse files
committed
add: github action workflows
1 parent e7df0eb commit bd1d654

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/releases.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Create Archive
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags:
7+
- 'v*'
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Archive Release
14+
uses: thedoctor0/zip-release@master
15+
with:
16+
type: 'zip'
17+
filename: 'release.zip'
18+
exclusions: '*.git* /*node_modules/* .editorconfig'
19+
- name: Upload Release
20+
uses: ncipollo/release-action@v1
21+
with:
22+
artifacts: "release.zip"
23+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)