Attempt to fix tests for Nightly builds

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2025-04-15 10:20:58 +01:00
parent 0e8785e7ac
commit 2cdf1cf3b6
3 changed files with 4 additions and 4 deletions

View File

@@ -190,7 +190,7 @@ jobs:
with: with:
artifact: linux-${{ inputs.arch }}-sqlcipher-${{ inputs.sqlcipher }} artifact: linux-${{ inputs.arch }}-sqlcipher-${{ inputs.sqlcipher }}
runs-on: ${{ inputs.arch == 'arm64' && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }} runs-on: ${{ inputs.arch == 'arm64' && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }}
executable: /opt/Element/element-desktop executable: /opt/Element/element-desktop*
prepare_cmd: | prepare_cmd: |
sudo apt-get -qq update sudo apt-get -qq update
sudo apt install ./dist/*.deb sudo apt install ./dist/*.deb

View File

@@ -152,10 +152,10 @@ jobs:
with: with:
artifact: macos artifact: macos
runs-on: macos-14 runs-on: macos-14
executable: /Users/runner/Applications/Element.app/Contents/MacOS/Element 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 # 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. # read-only and thus would not allow us to override the fuses as is required for Playwright.
prepare_cmd: | prepare_cmd: |
hdiutil attach ./dist/*.dmg -mountpoint /Volumes/Element && hdiutil attach ./dist/*.dmg -mountpoint /Volumes/Element &&
rsync -a /Volumes/Element/Element.app ~/Applications/ && rsync -a /Volumes/Element/Element*.app ~/Applications/ &&
hdiutil detach /Volumes/Element hdiutil detach /Volumes/Element

View File

@@ -225,4 +225,4 @@ jobs:
with: with:
artifact: win-${{ inputs.arch }} artifact: win-${{ inputs.arch }}
runs-on: windows-2022 runs-on: windows-2022
executable: ${{ inputs.arch == 'ia32' && './dist/win-ia32-unpacked/Element.exe' || './dist/win-unpacked/Element.exe' }} executable: ./dist/win*-unpacked/Element*.exe