|
|
@ -74,7 +74,7 @@ jobs:
|
|
|
|
- name: Clone DFHack
|
|
|
|
- name: Clone DFHack
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
repository: 'DFHack/dfhack'
|
|
|
|
repository: ${{ inputs.dfhack_ref && github.repository || 'DFHack/dfhack' }}
|
|
|
|
ref: ${{ inputs.dfhack_ref }}
|
|
|
|
ref: ${{ inputs.dfhack_ref }}
|
|
|
|
submodules: true
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: ${{ !inputs.platform-files && 1 || 0 }}
|
|
|
|
fetch-depth: ${{ !inputs.platform-files && 1 || 0 }}
|
|
|
@ -82,14 +82,14 @@ jobs:
|
|
|
|
if: inputs.scripts_ref
|
|
|
|
if: inputs.scripts_ref
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
repository: 'DFHack/scripts'
|
|
|
|
repository: ${{ inputs.scripts_ref && github.repository || 'DFHack/scripts' }}
|
|
|
|
ref: ${{ inputs.scripts_ref }}
|
|
|
|
ref: ${{ inputs.scripts_ref }}
|
|
|
|
path: scripts
|
|
|
|
path: scripts
|
|
|
|
- name: Clone structures
|
|
|
|
- name: Clone structures
|
|
|
|
if: inputs.structures_ref
|
|
|
|
if: inputs.structures_ref
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
repository: 'DFHack/df-structures'
|
|
|
|
repository: ${{ inputs.structures_ref && github.repository || 'DFHack/df-structures' }}
|
|
|
|
ref: ${{ inputs.structures_ref }}
|
|
|
|
ref: ${{ inputs.structures_ref }}
|
|
|
|
path: library/xml
|
|
|
|
path: library/xml
|
|
|
|
- name: Fetch ccache
|
|
|
|
- name: Fetch ccache
|
|
|
|