This repository was archived by the owner on Aug 27, 2022. It is now read-only.
forked from andreknieriem/photobooth
-
-
Notifications
You must be signed in to change notification settings - Fork 36
52 lines (50 loc) · 1.19 KB
/
build.yml
File metadata and controls
52 lines (50 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Build
on:
push:
branches:
- dev
pull_request:
branches:
- dev
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: true
- name: Use Node v12
uses: actions/setup-node@v2
with:
node-version: '12'
- name: Install modules
run: yarn install
- name: Build
run: yarn build
- name: Get git status
run: git status
- name: Pack zip
run: yarn pack:build
- name: Publish zip
uses: actions/upload-artifact@v2
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
with:
name: photobooth
path: archives/photobooth-*.zip
buildmacos:
runs-on: macos-11
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: true
- name: Use Node v12
uses: actions/setup-node@v2
with:
node-version: '12'
- name: Install modules
run: yarn install
- name: Build
run: yarn build