-
Notifications
You must be signed in to change notification settings - Fork 480
76 lines (72 loc) · 2 KB
/
package.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: Package
on:
workflow_call:
inputs:
dfhack_repo:
type: string
dfhack_ref:
type: string
scripts_repo:
type: string
scripts_ref:
type: string
structures_repo:
type: string
structures_ref:
type: string
append-date-and-hash:
type: boolean
default: true
cache-readonly:
type: boolean
default: false
launchdf:
type: boolean
default: false
include_windows:
type: boolean
default: true
include_linux:
type: boolean
default: true
jobs:
package-win64:
name: Windows
uses: ./.github/workflows/build-windows.yml
if: inputs.include_windows
with:
dfhack_repo: ${{ inputs.dfhack_repo }}
dfhack_ref: ${{ inputs.dfhack_ref }}
scripts_repo: ${{ inputs.scripts_repo }}
scripts_ref: ${{ inputs.scripts_ref }}
structures_repo: ${{ inputs.structures_repo }}
structures_ref: ${{ inputs.structures_ref }}
artifact-name: dfhack-windows64-build
append-date-and-hash: ${{ inputs.append-date-and-hash }}
cache-id: release
cache-readonly: ${{ inputs.cache-readonly }}
stonesense: true
docs: true
html: false
launchdf: ${{ inputs.launchdf }}
secrets: inherit
package-linux:
name: Linux
uses: ./.github/workflows/build-linux.yml
if: inputs.include_linux
with:
dfhack_repo: ${{ inputs.dfhack_repo }}
dfhack_ref: ${{ inputs.dfhack_ref }}
scripts_repo: ${{ inputs.scripts_repo }}
scripts_ref: ${{ inputs.scripts_ref }}
structures_repo: ${{ inputs.structures_repo }}
structures_ref: ${{ inputs.structures_ref }}
artifact-name: dfhack-linux64-build
append-date-and-hash: ${{ inputs.append-date-and-hash }}
cache-id: release
cache-readonly: ${{ inputs.cache-readonly }}
stonesense: true
docs: true
html: false
launchdf: ${{ inputs.launchdf }}
secrets: inherit