From 4f76cb52433e19f4cd825b6bb4bbf3611ae7724b Mon Sep 17 00:00:00 2001 From: Nikita Fedkin Date: Sun, 12 Jan 2025 19:30:15 +0100 Subject: [PATCH 1/3] Fix macos setup --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 75defbf..783f5f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,11 +13,17 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-latest, windows-latest, macos-13] oscript_version: ['1.8.3', 'stable'] steps: - uses: actions/checkout@v4 + - name: Prepare macOS env + if: matrix.os == 'macos-13' + run: | + echo "SIGN_QEMU_BINARY=1" >> "$GITHUB_ENV" + softwareupdate --install-rosetta + - name: Setup Onescript Action uses: otymko/setup-onescript@v1.4 with: From 76b0776d696ea6993f1b9849709761012c9a7e19 Mon Sep 17 00:00:00 2001 From: Nikita Fedkin Date: Sun, 12 Jan 2025 19:31:02 +0100 Subject: [PATCH 2/3] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 783f5f2..3bedc83 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,13 +13,13 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-13] + os: [ubuntu-latest, windows-latest, macos-latest] oscript_version: ['1.8.3', 'stable'] steps: - uses: actions/checkout@v4 - name: Prepare macOS env - if: matrix.os == 'macos-13' + if: matrix.os == 'macos-latest' run: | echo "SIGN_QEMU_BINARY=1" >> "$GITHUB_ENV" softwareupdate --install-rosetta From a8ce87e8604361fd350c1b1d56ceeb40ce6e553a Mon Sep 17 00:00:00 2001 From: Nikita Fedkin Date: Sun, 12 Jan 2025 19:32:53 +0100 Subject: [PATCH 3/3] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3bedc83..8960cd9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: if: matrix.os == 'macos-latest' run: | echo "SIGN_QEMU_BINARY=1" >> "$GITHUB_ENV" - softwareupdate --install-rosetta + softwareupdate --install-rosetta --agree-to-license - name: Setup Onescript Action uses: otymko/setup-onescript@v1.4