Skip to content

Commit 57a5b14

Browse files
committed
fix: use macos-latest (ARM64 only, Intel runners retired)
1 parent a339919 commit 57a5b14

1 file changed

Lines changed: 6 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,8 @@ jobs:
4141
path: dist/batimg-linux-x86_64
4242

4343
build-macos:
44-
name: Build macOS ${{ matrix.arch }}
45-
runs-on: ${{ matrix.os }}
46-
strategy:
47-
matrix:
48-
include:
49-
- os: macos-13
50-
arch: x86_64
51-
target: x86_64-apple-darwin
52-
- os: macos-14
53-
arch: aarch64
54-
target: aarch64-apple-darwin
44+
name: Build macOS ARM64
45+
runs-on: macos-latest
5546

5647
steps:
5748
- name: Checkout
@@ -70,14 +61,14 @@ jobs:
7061
- name: Prepare artifact
7162
run: |
7263
mkdir -p dist
73-
cp target/release/batimg dist/batimg-macos-${{ matrix.arch }}
74-
chmod +x dist/batimg-macos-${{ matrix.arch }}
64+
cp target/release/batimg dist/batimg-macos-aarch64
65+
chmod +x dist/batimg-macos-aarch64
7566
7667
- name: Upload artifact
7768
uses: actions/upload-artifact@v4
7869
with:
79-
name: batimg-macos-${{ matrix.arch }}
80-
path: dist/batimg-macos-${{ matrix.arch }}
70+
name: batimg-macos-aarch64
71+
path: dist/batimg-macos-aarch64
8172

8273
release:
8374
name: Create Release

0 commit comments

Comments
 (0)