@@ -140,33 +140,33 @@ jobs:
140140 - name : Build DFHack
141141 run : |
142142 cmake --build build
143- - name : Format artifact name
144- if : inputs.artifact-name
145- id : artifactname
146- run : |
147- if (test "${{ inputs.append-date-and-hash }}" -eq "false") {
148- "name=${{ inputs.artifact-name }}" | Out-File -Append $env:GITHUB_OUTPUT
149- } else {
150- $date = Get-Date -Format "yyyMMdd"
151- $hash = git rev-parse --short HEAD
152- "name=${{ inputs.artifact-name}}-$date-$hash" | Out-File -Append $env:GITHUB_OUTPUT
153- }
154- - name : Prep artifact
155- if : inputs.artifact-name
156- run : |
157- Get-ChildItem -Recurse -File -Fitler *.pdb |
158- Copy-Item -Destination "/pdb"
159- cd /output
160- tar cjf /${{ steps.artifactname.outputs.name }}.tar.bz2 .
161- - name : Upload artifact
162- if : inputs.artifact-name
163- uses : actions/upload-artifact@v4
164- with :
165- name : ${{ steps.artifactname.outputs.name }}
166- path : /${{ steps.artifactname.outputs.name }}.tar.bz2
167- - name : Upload PDBs
168- if : inputs.artifact-name && inputs.cache-id == 'release'
169- uses : actions/upload-artifact@v4
170- with :
171- name : ${{ steps.artifactname.outputs.name }}_pdb
172- path : /pdb
143+ # - name: Format artifact name
144+ # if: inputs.artifact-name
145+ # id: artifactname
146+ # run: |
147+ # if ("${{ inputs.append-date-and-hash }}" -eq "false") {
148+ # "name=${{ inputs.artifact-name }}" | Out-File -Append $env:GITHUB_OUTPUT
149+ # } else {
150+ # $date = Get-Date -Format "yyyMMdd"
151+ # $hash = git rev-parse --short HEAD
152+ # "name=${{ inputs.artifact-name}}-$date-$hash" | Out-File -Append $env:GITHUB_OUTPUT
153+ # }
154+ # - name: Prep artifact
155+ # if: inputs.artifact-name
156+ # run: |
157+ # Get-ChildItem -Recurse -File -Filter *.pdb |
158+ # Copy-Item -Destination "/pdb"
159+ # cd /output
160+ # tar cjf /${{ steps.artifactname.outputs.name }}.tar.bz2 .
161+ # - name: Upload artifact
162+ # if: inputs.artifact-name
163+ # uses: actions/upload-artifact@v4
164+ # with:
165+ # name: ${{ steps.artifactname.outputs.name }}
166+ # path: /${{ steps.artifactname.outputs.name }}.tar.bz2
167+ # - name: Upload PDBs
168+ # if: inputs.artifact-name && inputs.cache-id == 'release'
169+ # uses: actions/upload-artifact@v4
170+ # with:
171+ # name: ${{ steps.artifactname.outputs.name }}_pdb
172+ # path: /pdb
0 commit comments