From ab72678e98ee1ba3d53127d4051442e976b8685b Mon Sep 17 00:00:00 2001 From: Stephen Hodgson Date: Sun, 3 Nov 2024 11:34:23 -0500 Subject: [PATCH 1/2] update workflow --- .github/workflows/unity.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/unity.yml b/.github/workflows/unity.yml index c8a4036..4546aef 100644 --- a/.github/workflows/unity.yml +++ b/.github/workflows/unity.yml @@ -11,12 +11,12 @@ on: workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ ( github.event_name == 'pull_request' || github.event.action == 'synchronize' ) }} -permissions: - checks: write - pull-requests: write + cancel-in-progress: ${{ (github.event_name == 'pull_request' || github.event.action == 'synchronize') }} jobs: build: + permissions: + checks: write + pull-requests: write env: UNITY_PROJECT_PATH: '' runs-on: ${{ matrix.os }} @@ -30,7 +30,7 @@ jobs: build-target: StandaloneLinux64 - os: windows-latest build-target: StandaloneWindows64 - - os: macos-13 + - os: macos-15 build-target: StandaloneOSX steps: - uses: actions/checkout@v4 @@ -46,11 +46,13 @@ jobs: - uses: RageAgainstThePixel/unity-action@v1 name: '${{ matrix.build-target }}-Validate' with: + build-target: ${{ matrix.build-target }} log-name: '${{ matrix.build-target }}-Validate' args: '-quit -nographics -batchmode -executeMethod Utilities.Editor.BuildPipeline.UnityPlayerBuildTools.ValidateProject -importTMProEssentialsAsset' - uses: RageAgainstThePixel/unity-action@v1 name: '${{ matrix.build-target }}-Build' with: + build-target: ${{ matrix.build-target }} log-name: '${{ matrix.build-target }}-Build' args: '-quit -nographics -batchmode -executeMethod Utilities.Editor.BuildPipeline.UnityPlayerBuildTools.StartCommandLineBuild' - uses: actions/upload-artifact@v4 From b8410ac55b3bd22cacac0149d5809391c74c5039 Mon Sep 17 00:00:00 2001 From: Stephen Hodgson Date: Sun, 3 Nov 2024 11:34:52 -0500 Subject: [PATCH 2/2] . --- .github/workflows/unity.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unity.yml b/.github/workflows/unity.yml index 4546aef..e61a7ec 100644 --- a/.github/workflows/unity.yml +++ b/.github/workflows/unity.yml @@ -23,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-13] + os: [ubuntu-latest, windows-latest, macos-15] unity-versions: [2021.x, 2022.x, 6000.x] include: - os: ubuntu-latest