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