Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit b52b85a

Browse files
committed
workflows: build zip on push and pr
Change-Id: I015137a0e100aa4c1e7b3ac3291d5c72c4aafabf
1 parent 2fbdac3 commit b52b85a

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/build.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
- stable2
8+
- stable3
9+
pull_request:
10+
branches:
11+
- dev
12+
- stable2
13+
- stable3
14+
workflow_dispatch:
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout repository and submodules
21+
uses: actions/checkout@v2
22+
with:
23+
submodules: true
24+
- name: Install modules
25+
run: yarn install
26+
- name: Build
27+
run: yarn build
28+
- name: Get git status
29+
run: git status
30+
- name: Pack zip
31+
run: yarn pack:build
32+
- name: Publish zip
33+
uses: actions/upload-artifact@v2
34+
with:
35+
name: photobooth
36+
path: archives/photobooth-*.zip
37+

0 commit comments

Comments
 (0)