From 276480c3aba4da6693bab2ef2542c6ef5f852a43 Mon Sep 17 00:00:00 2001 From: Daniel Samson <12231216+daniel-samson@users.noreply.github.com> Date: Wed, 21 Jan 2026 22:53:53 +0000 Subject: [PATCH] fix(ci): fix Windows build and update macOS runner - Use cmd shell on Windows to avoid PowerShell argument parsing issues - Update macOS Intel runner from macos-13 to macos-15-large Co-Authored-By: Claude Opus 4.5 --- .github/workflows/build.yml | 5 +++-- .github/workflows/release.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fcd5db0..b3b8f1d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,7 +61,7 @@ jobs: artifact: barn-linux-x64 - os: macos-latest artifact: barn-macos-arm64 - - os: macos-13 + - os: macos-15-large artifact: barn-macos-x64 - os: windows-latest artifact: barn-windows-x64 @@ -85,9 +85,10 @@ jobs: - name: Build native image (Windows) if: runner.os == 'Windows' + shell: cmd run: | mvn package -Pnative -DskipTests -Dspotbugs.skip=true -Dpmd.skip=true -Dcheckstyle.skip=true - mv target/barn.exe target/${{ matrix.artifact }}.exe + move target\barn.exe target\${{ matrix.artifact }}.exe - name: Upload artifact uses: actions/upload-artifact@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5660402..421aa40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: artifact: barn-linux-x64 - os: macos-latest artifact: barn-macos-arm64 - - os: macos-13 + - os: macos-15-large artifact: barn-macos-x64 - os: windows-latest artifact: barn-windows-x64 @@ -41,9 +41,10 @@ jobs: - name: Build native image (Windows) if: runner.os == 'Windows' + shell: cmd run: | mvn package -Pnative -DskipTests -Dspotbugs.skip=true -Dpmd.skip=true -Dcheckstyle.skip=true - mv target/barn.exe target/${{ matrix.artifact }}.exe + move target\barn.exe target\${{ matrix.artifact }}.exe - name: Upload artifact uses: actions/upload-artifact@v4