File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -81,17 +81,18 @@ jobs:
81
81
if : matrix.os == 'macos-latest' && env.SCRATCH_SHOULD_SIGN == 'true'
82
82
run : |
83
83
NPM_APP_VERSION="`node -pe "require('./package.json').version"`"
84
- cd dist/mas-dev
84
+ MAS_DEV_DIR=$(find dist -type d -name "mas-dev*" | head -n 1 | xargs basename)
85
+ cd dist/${MAS_DEV_DIR}
85
86
ditto -v -c -k --sequesterRsrc --keepParent --zlibCompressionLevel 9 \
86
- Scratch*.app ../mas-dev -${NPM_APP_VERSION}.zip
87
+ Scratch*.app ../${MAS_DEV_DIR} -${NPM_APP_VERSION}.zip
87
88
- name : Upload macOS artifacts
88
89
uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
89
90
if : matrix.os == 'macos-latest'
90
91
with :
91
92
name : macOS
92
93
path : |
93
94
dist/Scratch*.dmg
94
- dist/mas/Scratch*.pkg
95
+ dist/mas-* /Scratch*.pkg
95
96
dist/mas-dev-*.zip
96
97
- name : Upload Windows artifacts
97
98
uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
You can’t perform that action at this time.
0 commit comments