Fixup
This commit is contained in:
7
.github/actions/extract-artifact/action.yml
vendored
7
.github/actions/extract-artifact/action.yml
vendored
@@ -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/
|
||||
|
||||
2
.github/workflows/run-help.yml
vendored
2
.github/workflows/run-help.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user