diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d7efec..4e474f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,8 +41,8 @@ jobs: working-directory: ./AM2RLauncher run: dotnet workload install macos && dotnet workload restore - name: Switch XCode - run: xcode-select -switch /Applications/Xcode_15.0.1.app/Contents/Developer - if: ${{matrix.os}} == "macos-13" + run: sudo xcode-select -switch /Applications/Xcode_15.0.1.app/Contents/Developer + if: matrix.os == 'macos-13' - name: Restore dependencies working-directory: ./AM2RLauncher run: dotnet restore