Skip to content

Commit

Permalink
glob match take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Jan 28, 2025
1 parent 6ef2ee6 commit a731dfa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/generate-symbols.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ jobs:
pip install itch-dl
minor=$(echo "${{ inputs.version }}" | cut -d. -f1)
patch=$(echo "${{ inputs.version }}" | cut -d. -f2)
fname="kitfoxgames/dwarf-fortress/files/dwarf_fortress_${minor}_${patch}_linux.tar.bz2"
fname="dwarf_fortress_${minor}_${patch}_linux.tar.bz2"
itch-dl https://kitfoxgames.itch.io/dwarf-fortress --download-to . --api-key $ITCH_API_KEY --filter-files-glob "${fname}"
tar xjf "${fname}" -C DF_itch
tar xjf "kitfoxgames/dwarf-fortress/files/${fname}" -C DF_itch
tar xjf dfhack-symbols-linux64-build.tar.bz2 -C DF_itch
xml/symbols_gen_linux.sh ${{ inputs.version }} ITCH DF_itch
Expand Down Expand Up @@ -271,9 +271,9 @@ jobs:
pip install itch-dl
minor=$(echo "${{ inputs.version }}" | cut -d. -f1)
patch=$(echo "${{ inputs.version }}" | cut -d. -f2)
fname="kitfoxgames/dwarf-fortress/files/dwarf_fortress_${minor}_${patch}_windows.zip"
fname="dwarf_fortress_${minor}_${patch}_windows.zip"
itch-dl https://kitfoxgames.itch.io/dwarf-fortress --download-to . --api-key $ITCH_API_KEY --filter-files-glob "${fname}"
unzip -d DF_itch "${fname}"
unzip -d DF_itch "kitfoxgames/dwarf-fortress/files/${fname}"
xml/symbols_gen_windows.sh ${{ inputs.version }} ITCH DF_itch
# Classic
Expand Down

0 comments on commit a731dfa

Please sign in to comment.