-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (48 loc) · 1.26 KB
/
nightly.yml
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
53
54
name: "Pine Nightly Automations"
on:
schedule:
- cron: '00 11 * * 2,4' # 11 am UTC Tuesday and Thursday
workflow_dispatch:
inputs:
preid:
type: choice
description: Which prerelease id should be used? This is only needed when a version is "prepatch", "preminor", "premajor", or "prerelease".
options:
- ''
- alpha
- beta
- rc
- next
ref:
type: string
description: The branch name, tag, or SHA to be checked out. This can also be left blank.
default: ''
tag:
type: choice
required: true
description: Which npm tag should this be published to
options:
- latest
- next
- dev
version:
type: choice
description: Which version should be published?
options:
- ''
- patch
- minor
- major
- prepatch
- preminor
- premajor
- prerelease
jobs:
export-icons:
uses: ./.github/workflows/release.yml
with:
preid: ${{ inputs.preid || '' }}
ref: ${{ inputs.ref || 'main' }}
tag: ${{ inputs.tag || 'nightly' }}
version: ${{inputs.version || '' }}
secrets: inherit