-
-
Notifications
You must be signed in to change notification settings - Fork 74
36 lines (33 loc) · 776 Bytes
/
build.yml
File metadata and controls
36 lines (33 loc) · 776 Bytes
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
name: Nightly Builds
on:
push:
branches:
- master
tags:
- '*'
workflow_dispatch:
permissions:
contents: write
jobs:
build:
uses: ./.github/workflows/my-build-action.yml
if: startsWith(github.ref, 'refs/heads')
with:
name: 'Nightly Builds'
secrets: inherit
# build_minified_release:
# uses: ./.github/workflows/my-build-action.yml
# if: startsWith(github.ref, 'refs/heads/')
# with:
# name: 'Minified Builds'
# minify: true
# nightly_release: true
# secrets: inherit
release:
uses: ./.github/workflows/my-build-action.yml
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
with:
name: 'Release'
release: true
minify: true
secrets: inherit