File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,17 +187,13 @@ jobs:
187187 run : |
188188 Get-ChildItem -Recurse -File -Path "build" -Filter *.pdb |
189189 Copy-Item -Destination "pdb"
190- - name : Prep artifact
191- run : |
192- cd output
193- 7z a -ttar -so -an . |
194- 7z a -si -tbzip2 ../${{ steps.artifactname.outputs.name }}.tar.bz2
195190 - name : Upload artifact
196191 if : inputs.artifact-name
197192 uses : actions/upload-artifact@v4
198193 with :
199194 name : ${{ steps.artifactname.outputs.name }}
200- path : ${{ steps.artifactname.outputs.name }}.tar.bz2
195+ path : output
196+ include-hidden-files : true
201197 - name : Upload PDBs
202198 if : inputs.artifact-name && inputs.cache-id == 'release'
203199 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -325,6 +325,7 @@ jobs:
325325 uses : actions/download-artifact@v4
326326 with :
327327 name : dfhack-symbols-windows64-build
328+ path : dfhack-windows64-build
328329 - name : Setup steamcmd
329330 id : steamcmd
330331 uses : CyberAndrii/setup-steamcmd@v1
@@ -355,7 +356,7 @@ jobs:
355356 +login $STEAM_USERNAME \
356357 "+app_update 975370 $BETA_PARAMS validate" \
357358 +quit
358- tar xjf dfhack-symbols- windows64-build.tar.bz2 -C DF_steam
359+ cp -r dfhack-windows64-build/. DF_steam/
359360 cp xml/symbols.xml DF_steam/hack
360361 cd DF_steam
361362 "./Dwarf Fortress.exe" &
Original file line number Diff line number Diff line change 5858 run : |
5959 mkdir artifacts
6060 cd dfhack-windows64-build
61- tar xjf dfhack-windows64-build.tar.bz2
62- rm dfhack-windows64-build.tar.bz2
6361 zip -qr ../artifacts/dfhack-${{ steps.gettag.outputs.name }}-Windows-64bit.zip .
6462 cd ../dfhack-linux64-build
6563 mv dfhack-linux64-build.tar.bz2 ../artifacts/dfhack-${{ steps.gettag.outputs.name }}-Linux-64bit.tar.bz2
Original file line number Diff line number Diff line change 7070 run : |
7171 for name in common win64 linux64; do
7272 cd ${name}-depot
73- tar xjf ${name}-depot.tar.bz2
74- rm ${name}-depot.tar.bz2
73+ if [ -f ${name}-depot.tar.bz2 ]; then
74+ tar xjf ${name}-depot.tar.bz2
75+ rm ${name}-depot.tar.bz2
76+ fi
7577 cd ..
7678 done
7779 - name : Get short SHA of commit
Original file line number Diff line number Diff line change 6565 uses : actions/download-artifact@v4
6666 with :
6767 name : test-${{ inputs.compiler }}
68+ path : ${{ env.DF_FOLDER }}
6869 - name : Install DFHack
6970 shell : bash
70- run : tar xjf test-${{ inputs.compiler }}.tar.bz2 -C ${{ env.DF_FOLDER }}
71+ run : |
72+ if [ -f "${{ env.DF_FOLDER }}/test-${{ inputs.compiler }}.tar.bz2" ]; then
73+ tar xjf "${{ env.DF_FOLDER }}/test-${{ inputs.compiler }}.tar.bz2" -C "${{ env.DF_FOLDER }}"
74+ rm "${{ env.DF_FOLDER }}/test-${{ inputs.compiler }}.tar.bz2"
75+ fi
7176 - name : Start X server
7277 if : inputs.os == 'ubuntu'
7378 run : Xvfb :0 -screen 0 1600x1200x24 &
Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ To download a development build from GitHub:
8989- Click the number under "Artifacts" (or scroll down)
9090- Click on the ``dfhack-*-build-* `` artifact for your platform to download
9191
92- The artifacts are "double-zipped". That is, you will have to extract the
92+ The Windows artifacts can be extracted directly into your DF folder. The
93+ Linux artifacts are "double-zipped". That is, you will have to extract the
9394initial zip file to get to the package archive. You can extract this second
9495package the same as if you are doing a manual install (see the next section).
9596
You can’t perform that action at this time.
0 commit comments