File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,8 +163,9 @@ jobs:
163163 pip install itch-dl
164164 minor=$(echo "${{ inputs.version }}" | cut -d. -f1)
165165 patch=$(echo "${{ inputs.version }}" | cut -d. -f2)
166- itch-dl https://kitfoxgames.itch.io/dwarf-fortress --download-to . --api-key $ITCH_API_KEY
167- tar xjf "kitfoxgames/dwarf-fortress/files/dwarf_fortress_${minor}_${patch}_linux.tar.bz2" -C DF_itch
166+ fname="kitfoxgames/dwarf-fortress/files/dwarf_fortress_${minor}_${patch}_linux.tar.bz2"
167+ itch-dl https://kitfoxgames.itch.io/dwarf-fortress --download-to . --api-key $ITCH_API_KEY --filter-files-glob "${fname}"
168+ tar xjf "${fname}" -C DF_itch
168169 tar xjf dfhack-symbols-linux64-build.tar.bz2 -C DF_itch
169170 xml/symbols_gen_linux.sh ${{ inputs.version }} ITCH DF_itch
170171
@@ -270,8 +271,9 @@ jobs:
270271 pip install itch-dl
271272 minor=$(echo "${{ inputs.version }}" | cut -d. -f1)
272273 patch=$(echo "${{ inputs.version }}" | cut -d. -f2)
273- itch-dl https://kitfoxgames.itch.io/dwarf-fortress --download-to . --api-key $ITCH_API_KEY
274- unzip -d DF_itch "kitfoxgames/dwarf-fortress/files/dwarf_fortress_${minor}_${patch}_windows.zip"
274+ fname="kitfoxgames/dwarf-fortress/files/dwarf_fortress_${minor}_${patch}_windows.zip"
275+ itch-dl https://kitfoxgames.itch.io/dwarf-fortress --download-to . --api-key $ITCH_API_KEY --filter-files-glob "${fname}"
276+ unzip -d DF_itch "${fname}"
275277 xml/symbols_gen_windows.sh ${{ inputs.version }} ITCH DF_itch
276278
277279 # Classic
You can’t perform that action at this time.
0 commit comments