mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-06-12 04:51:06 -04:00
fix: take arch name into account for mac artifacts
This commit is contained in:
parent
bc6cb6e2b4
commit
ad7e980918
1 changed files with 4 additions and 3 deletions
7
.github/workflows/ci-cd.yml
vendored
7
.github/workflows/ci-cd.yml
vendored
|
@ -81,9 +81,10 @@ jobs:
|
|||
if: matrix.os == 'macos-latest' && env.SCRATCH_SHOULD_SIGN == 'true'
|
||||
run: |
|
||||
NPM_APP_VERSION="`node -pe "require('./package.json').version"`"
|
||||
cd dist/mas-dev
|
||||
MAS_DEV_DIR=$(find dist -type d -name "mas-dev*" | head -n 1 | xargs basename)
|
||||
cd dist/${MAS_DEV_DIR}
|
||||
ditto -v -c -k --sequesterRsrc --keepParent --zlibCompressionLevel 9 \
|
||||
Scratch*.app ../mas-dev-${NPM_APP_VERSION}.zip
|
||||
Scratch*.app ../${MAS_DEV_DIR}-${NPM_APP_VERSION}.zip
|
||||
- name: Upload macOS artifacts
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
|
||||
if: matrix.os == 'macos-latest'
|
||||
|
@ -91,7 +92,7 @@ jobs:
|
|||
name: macOS
|
||||
path: |
|
||||
dist/Scratch*.dmg
|
||||
dist/mas/Scratch*.pkg
|
||||
dist/mas-*/Scratch*.pkg
|
||||
dist/mas-dev-*.zip
|
||||
- name: Upload Windows artifacts
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue