Skip to content

Commit bee24d1

Browse files
Update main.yml
1 parent fb35662 commit bee24d1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
name: CI
1+
name: build-and-release
22

33
on:
4-
push:
5-
branches: [ master ]
6-
74
workflow_dispatch:
85

96
jobs:
10-
build:
7+
build-and-release:
118
runs-on: ubuntu-latest
129
steps:
1310
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -16,3 +13,5 @@ jobs:
1613
with:
1714
node-version: '16'
1815
- run: yarn build
16+
- run: zip -r release.zip .
17+
- run: gh release create {{ env.RELEASE_VERSION }} release.zip

0 commit comments

Comments
 (0)