From f8c13b8070746f21ad55c89f59b3f8a3eebcc5d9 Mon Sep 17 00:00:00 2001 From: EliteAsian <29520859+EliteAsian123@users.noreply.github.com> Date: Tue, 11 Jun 2024 17:08:16 -0400 Subject: [PATCH] Update action to produce a universal launcher for MacOS --- .github/workflows/publish.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 601aa13..91cdaef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: inputs: keyPassword: - description: "Key Password" + description: 'Key Password' required: true type: string @@ -15,7 +15,12 @@ jobs: strategy: fail-fast: false matrix: - platform: [macos-latest, ubuntu-20.04, windows-latest] + - platform: 'macos-latest' + args: '--target universal-apple-darwin' + - platform: 'ubuntu-20.04' + args: '' + - platform: 'windows-latest' + args: '' runs-on: ${{ matrix.platform }} steps: @@ -40,7 +45,8 @@ jobs: TAURI_KEY_PASSWORD: ${{ inputs.keyPassword }} with: tagName: v__VERSION__ - releaseName: 'YARG Launcher v__VERSION__' + releaseName: 'YARC Launcher v__VERSION__' releaseBody: 'See the assets to download this version and install.' releaseDraft: true - prerelease: false \ No newline at end of file + prerelease: false + args: ${{ matrix.args }}