From 7eef01de9dad4fa9f10d33494cb9ba57dfe975cc Mon Sep 17 00:00:00 2001 From: Johannes Lorenz Date: Sat, 21 Sep 2024 00:05:05 +0200 Subject: [PATCH] Try to fix Linux and Mac --- .github/workflows/run-help.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-help.yml b/.github/workflows/run-help.yml index b9cb07b3246..5a0b801a893 100644 --- a/.github/workflows/run-help.yml +++ b/.github/workflows/run-help.yml @@ -29,7 +29,7 @@ jobs: - name: Display help run: | cd squashfs-root/ - usr/bin/lmms.real --help | grep "Usage: lmms" + ./AppRun --help | grep "Usage: lmms" help-macos: strategy: fail-fast: false @@ -48,9 +48,19 @@ jobs: check-name: macos-${{ matrix.arch }} repo-token: ${{ secrets.GITHUB_TOKEN }} wait-interval: 30 + - name: Download workflow artifact + uses: dawidd6/action-download-artifact@v6 + with: + workflow: build.yml + name: macos-${{ matrix.arch }} + - name: Mount the DMG + run: | + mkdir -p /Volumes/lmms + hdiutil attach lmms.dmg -mountpoint /Volumes/lmms + cp -R "/Volumes/lmms/LMMS.app" /tmp/ - name: Display help - run: > - build/LMMS.app/Contents/MacOS/lmms --help | grep "Usage: lmms" + run: | + /tmp/LMMS.app/Contents/MacOS/lmms --help | grep "Usage: lmms" help-mingw: strategy: fail-fast: false