Skip to content

Commit 870ff3b

Browse files
author
g
committed
Fix YAML syntax by simplifying runner mapping in release workflow
1 parent dd2c1b4 commit 870ff3b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,24 @@ jobs:
6060
- target: x86_64-unknown-linux-gnu
6161
arch: x64
6262
os: linux
63+
runner: ubuntu-latest
6364
- target: x86_64-apple-darwin
6465
arch: x64
6566
os: macos
67+
runner: macos-latest
6668
- target: x86_64-pc-windows-msvc
6769
arch: x64
6870
os: windows
71+
runner: windows-latest
6972
- target: aarch64-apple-darwin
7073
arch: arm64
7174
os: macos
75+
runner: macos-latest
7276
- target: x86_64-unknown-freebsd
7377
arch: x64
7478
os: freebsd
75-
runs-on: ${{ matrix.os == 'freebsd' && 'ubuntu-latest' || matrix.os == 'windows' && 'windows-latest' || matrix.os == 'macos' && 'macos-latest' || 'ubuntu-latest' }}
79+
runner: ubuntu-latest
80+
runs-on: ${{ matrix.runner }}
7681

7782
steps:
7883
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)