Do not nest zip file inside build artifact

This commit is contained in:
Dexrn ZacAttack
2025-01-15 19:27:59 -08:00
committed by GitHub
parent a2feb7cc94
commit 985d09379d
+7 -9
View File
@@ -37,7 +37,7 @@ jobs:
- name: Download external files
run: |
curl -L -o External.zip ${{ secrets.EXTERNALS_LINK }}
curl -L -o External.zip "${{ secrets.EXTERNALS_LINK }}"
env:
EXTERNALS_LINK: ${{ secrets.EXTERNALS_LINK }}
@@ -57,14 +57,12 @@ jobs:
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=Debug /property:Platform=x64 ${{env.SOLUTION_FILE_PATH}}
- name: Create zip of build artifacts
run: 7z a -tzip WinDurango-DEBUG.zip D:\a\WinDurango\WinDurango\x64\Debug\*.dll D:\a\WinDurango\WinDurango\x64\Debug\*.pdb
# run: 7z a -tzip ${{env.GITHUB_WORKSPACE}}/x64/Debug/WinDurango-DEBUG.zip ${{env.GITHUB_WORKSPACE}}/x64/Debug/*.dll ${{env.GITHUB_WORKSPACE}}/x64/Debug/*.pdb
run: msbuild /m /p:Configuration=Debug /p:BuildInParallel=false /property:Platform=x64 ${{env.SOLUTION_FILE_PATH}}
- name: Upload build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BuildArtifacts
path: WinDurango-DEBUG.zip
name: WinDurango-DEBUG
path: |
D:\a\WinDurango\WinDurango\x64\Debug\*.dll
D:\a\WinDurango\WinDurango\x64\Debug\*.pdb