Skip to content

Commit d17bf22

Browse files
committed
feat: Fix platform typo
1 parent 123c652 commit d17bf22

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ jobs:
2828
matrix:
2929
node-version: [18.x]
3030
include:
31-
- os: ubuntu-latest
31+
- platform: ubuntu-latest
3232
rust_target: x86_64-unknown-linux-gnu
33-
- os: windows-latest
33+
- platform: windows-latest
3434
rust_target: x86_64-pc-windows-msvc
35-
- os: macos-latest
35+
- platform: macos-latest
3636
rust_target: x86_64-apple-darwin
37-
- os: macos-latest
37+
- platform: macos-latest
3838
rust_target: aarch64-apple-darwin
39-
runs-on: ${{ matrix.os }}
39+
runs-on: ${{ matrix.platform }}
4040
steps:
4141
- name: Checkout repository
4242
uses: actions/checkout@v4
@@ -56,7 +56,7 @@ jobs:
5656
override: true
5757
profile: minimal
5858
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
59-
target: ${{ matrix.platform.rust_target }}
59+
target: ${{ matrix.rust_target }}
6060

6161
- uses: Swatinem/rust-cache@v2
6262

@@ -74,7 +74,7 @@ jobs:
7474
npm install -g typescript
7575
npm install -g pnpm
7676
77-
- name: install dependencies (windows only)
77+
- name: install dependencies (macos only)
7878
if: matrix.platform == 'macos-latest'
7979
run: |
8080
brew install pnpm
@@ -88,7 +88,7 @@ jobs:
8888
- uses: JonasKruckenberg/tauri-build@v1.2.3
8989
id: tauri_build
9090
with:
91-
target: ${{ matrix.platform.rust_target }}
91+
target: ${{ matrix.rust_target }}
9292

9393
- uses: actions/upload-artifact@v4
9494
with:

0 commit comments

Comments
 (0)