Test release assets before deploy (#2257)
This commit is contained in:
committed by
GitHub
parent
7ea9bf1944
commit
0e8785e7ac
14
.github/workflows/build_macos.yaml
vendored
14
.github/workflows/build_macos.yaml
vendored
@@ -145,3 +145,17 @@ jobs:
|
||||
run: |
|
||||
test -f ./dist/Element*.dmg
|
||||
test -f ./dist/Element*-mac.zip
|
||||
|
||||
test:
|
||||
needs: build
|
||||
uses: ./.github/workflows/build_test.yaml
|
||||
with:
|
||||
artifact: macos
|
||||
runs-on: macos-14
|
||||
executable: /Users/runner/Applications/Element.app/Contents/MacOS/Element
|
||||
# We need to mount the DMG and copy the app to the Applications folder as a mounted DMG is
|
||||
# read-only and thus would not allow us to override the fuses as is required for Playwright.
|
||||
prepare_cmd: |
|
||||
hdiutil attach ./dist/*.dmg -mountpoint /Volumes/Element &&
|
||||
rsync -a /Volumes/Element/Element.app ~/Applications/ &&
|
||||
hdiutil detach /Volumes/Element
|
||||
|
||||
Reference in New Issue
Block a user