Archived
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
1c5555e2d8
commit
276480c3ab
2 files changed
+6
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user