Skip to content

Commit 057e22d

Browse files
committed
Use stable toolchain for visionOS targets (not nightly)
1 parent 92e1ef7 commit 057e22d

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,7 @@ jobs:
352352
path: .
353353
- uses: dtolnay/rust-toolchain@stable
354354
with:
355-
targets: "aarch64-apple-darwin,x86_64-apple-darwin,aarch64-apple-ios,aarch64-apple-ios-sim"
356-
- name: Install nightly for visionOS
357-
run: |
358-
rustup toolchain install nightly
359-
rustup target add --toolchain nightly aarch64-apple-visionos aarch64-apple-visionos-sim
355+
targets: "aarch64-apple-darwin,x86_64-apple-darwin,aarch64-apple-ios,aarch64-apple-ios-sim,aarch64-apple-visionos,aarch64-apple-visionos-sim"
360356
- name: Build Rust (macOS Apple Silicon)
361357
run: cargo build --release --target aarch64-apple-darwin
362358
- name: Build Rust (macOS Intel)
@@ -366,9 +362,9 @@ jobs:
366362
- name: Build Rust (iOS simulator)
367363
run: cargo build --release --target aarch64-apple-ios-sim
368364
- name: Build Rust (visionOS device)
369-
run: rustup run nightly cargo build --release --target aarch64-apple-visionos
365+
run: cargo build --release --target aarch64-apple-visionos
370366
- name: Build Rust (visionOS simulator)
371-
run: rustup run nightly cargo build --release --target aarch64-apple-visionos-sim
367+
run: cargo build --release --target aarch64-apple-visionos-sim
372368
- name: Assemble XCFramework and Swift package
373369
run: |
374370
PREP=$(mktemp -d)

0 commit comments

Comments
 (0)