Skip to content

Commit f4eec8e

Browse files
authored
Create main.yml
1 parent 8c803a3 commit f4eec8e

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: build zip
2+
on:
3+
release:
4+
types: [created]
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v2
12+
with:
13+
node-version: '16'
14+
- run: |-
15+
yarn
16+
yarn build
17+
yarn zip
18+
- uses: shogo82148/actions-upload-release-asset@v1
19+
with:
20+
upload_url: ${{ github.event.release.upload_url }}
21+
asset_path: dist.zip

0 commit comments

Comments
 (0)