Skip to content

Commit c23e606

Browse files
ci: fix macOS-13 runner label casing (macOS-13 -> macos-13)
GitHub Actions runner labels are case-sensitive. `macOS-13` (capital OS) is not a valid runner label and causes CI failures. The correct label is `macos-13` (all lowercase). Fix this in both build.yml and build-tauri.yml.
1 parent 8870044 commit c23e606

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build-tauri.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
ubuntu-24.04,
3232
ubuntu-24.04-arm,
3333
windows-latest,
34-
macOS-13,
34+
macos-13,
3535
macos-latest,
3636
]
3737
python_version: [3.9]
@@ -52,14 +52,14 @@ jobs:
5252
echo "TAURI_BUILD=true" >> $GITHUB_ENV
5353
5454
- name: Set up Python
55-
if: matrix.os != 'macOS-13'
55+
if: matrix.os != 'macos-13'
5656
uses: actions/setup-python@v5
5757
with:
5858
python-version: ${{ matrix.python_version }}
5959

6060
# Setup Python version built for older macOS (https://github.com/actions/virtual-environments/issues/1256)
6161
- name: Set up Python for macOS
62-
if: matrix.os == 'macOS-13'
62+
if: matrix.os == 'macos-13'
6363
run: |
6464
curl https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macosx10.9.pkg -o "python.pkg"
6565
sudo installer -pkg python.pkg -target /

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
os: [ubuntu-24.04, windows-latest, macOS-13, macos-latest]
29+
os: [ubuntu-24.04, windows-latest, macos-13, macos-latest]
3030
python_version: [3.9]
3131
node_version: [22]
3232
skip_rust: [false]
@@ -53,14 +53,14 @@ jobs:
5353
echo "RELEASE=${{ startsWith(github.ref_name, 'v') || github.ref_name == 'master' }}" >> $GITHUB_ENV
5454
5555
- name: Set up Python
56-
if: matrix.os != 'macOS-13'
56+
if: matrix.os != 'macos-13'
5757
uses: actions/setup-python@v5
5858
with:
5959
python-version: ${{ matrix.python_version }}
6060

6161
# Setup Python version built for older macOS (https://github.com/actions/virtual-environments/issues/1256)
6262
- name: Set up Python for macOS
63-
if: matrix.os == 'macOS-13'
63+
if: matrix.os == 'macos-13'
6464
run: |
6565
curl https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macosx10.9.pkg -o "python.pkg"
6666

0 commit comments

Comments
 (0)