mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 13:34:05 -06:00
CICD: was uploading wrong zip file
This commit is contained in:
parent
dfa5d42d84
commit
c2827e3161
3 changed files with 12 additions and 12 deletions
4
.github/workflows/build_mac_arm64.yml
vendored
4
.github/workflows/build_mac_arm64.yml
vendored
|
@ -72,7 +72,7 @@ jobs:
|
|||
- name: pack app
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: |
|
||||
export ver=$(grep '^#define SoftFever_VERSION' ./src/libslic3r/libslic3r_version.h | cut -d ' ' -f3)
|
||||
export ver=$(grep '^#define SoftFever_VERSION' ./build_arm64/src/libslic3r/libslic3r_version.h | cut -d ' ' -f3)
|
||||
ver="_V${ver//\"}"
|
||||
zip -FSr OrcaSlicer${ver}_nightly_Mac_AppleSilicon.zip ${{ github.workspace }}/build_arm64/OrcaSlicer_arm64/OrcaSlicer.app
|
||||
|
||||
|
@ -89,4 +89,4 @@ jobs:
|
|||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: OrcaSlicer_Mac_AppleSilicon
|
||||
path: ${{ github.workspace }}/build_arm64/OrcaSlicer_arm64/OrcaSlicer*.zip
|
||||
path: ${{ github.workspace }}/OrcaSlicer*.zip
|
4
.github/workflows/build_mac_x64.yml
vendored
4
.github/workflows/build_mac_x64.yml
vendored
|
@ -73,7 +73,7 @@ jobs:
|
|||
- name: pack app
|
||||
working-directory: ${{ github.workspace }}
|
||||
run: |
|
||||
export ver=$(grep '^#define SoftFever_VERSION' ./src/libslic3r/libslic3r_version.h | cut -d ' ' -f3)
|
||||
export ver=$(grep '^#define SoftFever_VERSION' ./build_x86_64/src/libslic3r/libslic3r_version.h | cut -d ' ' -f3)
|
||||
ver="_V${ver//\"}"
|
||||
zip -FSr OrcaSlicer${ver}_nightly_Mac_Intel.zip ${{ github.workspace }}/build_x86_64/OrcaSlicer_x86_64/OrcaSlicer.app
|
||||
|
||||
|
@ -90,4 +90,4 @@ jobs:
|
|||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: OrcaSlicer_Mac_Intel
|
||||
path: ${{ github.workspace }}/build_x86_64/OrcaSlicer_x86_64/OrcaSlicer*.zip
|
||||
path: ${{ github.workspace }}/OrcaSlicer*.zip
|
Loading…
Add table
Add a link
Reference in a new issue