This commit is contained in:
Johannes Lorenz
2025-03-22 17:08:45 +01:00
parent 07c8209e65
commit 07de9f0a89
2 changed files with 8 additions and 1 deletions

View File

@@ -7,6 +7,9 @@ inputs:
artifact-name:
description: "Name of the artifact to download"
required: true
github-token:
description: "GitHub token for authentication"
required: true
runs:
using: "composite"
steps:
@@ -15,7 +18,7 @@ runs:
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
check-name: ${{ inputs.check-name }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ inputs.github-token }}
wait-interval: 30
- name: Download workflow artifact
@@ -26,12 +29,14 @@ runs:
- name: Extract artifact (Linux)
if: runner.os == 'Linux'
shell: bash
run: |
chmod +x lmms-*.AppImage
./lmms-*.AppImage --appimage-extract
- name: Mount DMG (macOS)
if: runner.os == 'macOS'
shell: bash
run: |
hdiutil attach lmms-*.dmg -mountpoint ~/tmpvolume
cp -R ~/tmpvolume/LMMS.app /tmp/

View File

@@ -26,6 +26,7 @@ jobs:
with:
check-name: linux-${{ matrix.config.arch }}
artifact-name: linux${{ matrix.config.suffix }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Display help
run: |
cd squashfs-root/
@@ -49,6 +50,7 @@ jobs:
with:
check-name: macos-${{ matrix.config.arch }}
artifact-name: macos-${{ matrix.config.arch }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Display help
run: |
/tmp/LMMS.app/Contents/MacOS/lmms --help | grep "Usage: lmms"