mirror of
https://github.com/WinDurango/WinDurango.git
synced 2026-05-05 08:49:40 -05:00
Do not nest zip file inside build artifact
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user