mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
Zip Windows portable build and PDB before upload artifacts
This commit is contained in:
parent
cbb7c3381c
commit
cc55957070
1 changed files with 17 additions and 7 deletions
24
.github/workflows/build_orca.yml
vendored
24
.github/workflows/build_orca.yml
vendored
|
@ -130,12 +130,22 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cpack -G NSIS
|
cpack -G NSIS
|
||||||
|
|
||||||
|
- name: Pack app
|
||||||
|
if: inputs.os == 'windows-latest'
|
||||||
|
working-directory: ${{ github.workspace }}/build
|
||||||
|
run: '"C:/Program Files/7-Zip/7z.exe" a -tzip OrcaSlicer_Windows_V${{ env.ver }}_portable.zip ${{ github.workspace }}/build/OrcaSlicer'
|
||||||
|
|
||||||
|
- name: Pack PDB
|
||||||
|
if: inputs.os == 'windows-latest'
|
||||||
|
working-directory: ${{ github.workspace }}/build/src/Release
|
||||||
|
run: '"C:/Program Files/7-Zip/7z.exe" a -m0=lzma2 -mx9 Debug_PDB_V${{ env.ver }}_for_developers_only.7z *.pdb'
|
||||||
|
|
||||||
- name: Upload artifacts Win zip
|
- name: Upload artifacts Win zip
|
||||||
if: inputs.os == 'windows-latest'
|
if: inputs.os == 'windows-latest'
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: OrcaSlicer_Windows_V${{ env.ver }}_portable
|
name: OrcaSlicer_Windows_V${{ env.ver }}_portable
|
||||||
path: ${{ github.workspace }}/build/OrcaSlicer
|
path: ${{ github.workspace }}/build/OrcaSlicer_Windows_V${{ env.ver }}_portable.zip
|
||||||
|
|
||||||
- name: Upload artifacts Win installer
|
- name: Upload artifacts Win installer
|
||||||
if: inputs.os == 'windows-latest'
|
if: inputs.os == 'windows-latest'
|
||||||
|
@ -144,12 +154,12 @@ jobs:
|
||||||
name: OrcaSlicer_Windows_V${{ env.ver }}
|
name: OrcaSlicer_Windows_V${{ env.ver }}
|
||||||
path: ${{ github.workspace }}/build/OrcaSlicer*.exe
|
path: ${{ github.workspace }}/build/OrcaSlicer*.exe
|
||||||
|
|
||||||
# - name: Upload artifacts Win PDB
|
- name: Upload artifacts Win PDB
|
||||||
# if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
# uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
# with:
|
with:
|
||||||
# name: OrcaSlicer_Windows_V${{ env.ver }}_pdb
|
name: PDB
|
||||||
# path: ${{ github.workspace }}/build/src/Release/*.pdb
|
path: ${{ github.workspace }}/build/src/Release/Debug_PDB_V${{ env.ver }}_for_developers_only.7z
|
||||||
|
|
||||||
# Ubuntu
|
# Ubuntu
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue