From 2cdf1cf3b6c28bda3332c9e0cbff98e657d6878e Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 15 Apr 2025 10:20:58 +0100 Subject: [PATCH] Attempt to fix tests for Nightly builds Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .github/workflows/build_linux.yaml | 2 +- .github/workflows/build_macos.yaml | 4 ++-- .github/workflows/build_windows.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_linux.yaml b/.github/workflows/build_linux.yaml index a092c61..5af0f62 100644 --- a/.github/workflows/build_linux.yaml +++ b/.github/workflows/build_linux.yaml @@ -190,7 +190,7 @@ jobs: with: artifact: linux-${{ inputs.arch }}-sqlcipher-${{ inputs.sqlcipher }} runs-on: ${{ inputs.arch == 'arm64' && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }} - executable: /opt/Element/element-desktop + executable: /opt/Element/element-desktop* prepare_cmd: | sudo apt-get -qq update sudo apt install ./dist/*.deb diff --git a/.github/workflows/build_macos.yaml b/.github/workflows/build_macos.yaml index 22c63f0..0cb9c51 100644 --- a/.github/workflows/build_macos.yaml +++ b/.github/workflows/build_macos.yaml @@ -152,10 +152,10 @@ jobs: with: artifact: macos 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 # 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/ && + rsync -a /Volumes/Element/Element*.app ~/Applications/ && hdiutil detach /Volumes/Element diff --git a/.github/workflows/build_windows.yaml b/.github/workflows/build_windows.yaml index 53d5b00..e3638d2 100644 --- a/.github/workflows/build_windows.yaml +++ b/.github/workflows/build_windows.yaml @@ -225,4 +225,4 @@ jobs: with: artifact: win-${{ inputs.arch }} 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