Skip to content

Commit 7ba8abc

Browse files
authored
Update rust.yml
1 parent 3719e01 commit 7ba8abc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@ jobs:
1616
runs-on: macos-latest
1717
steps:
1818
- uses: actions/checkout@v4
19+
- name: Update Rust (macOS)
20+
run: rustup update stable
1921
- name: Build (macOS)
20-
run: cargo build --release --target x86_64-apple-darwin
22+
run: cargo build --release
2123

2224
build-windows:
2325
runs-on: windows-latest
2426
steps:
2527
- uses: actions/checkout@v4
26-
# Specific Windows build steps if needed (e.g., setting environment variables)
2728
- name: Build (Windows)
28-
run: cargo build --release --target x86_64-pc-windows-gnu
29+
run: cargo build --release
2930

3031
upload-artifacts:
3132
needs: [build-linux, build-macos, build-windows]

0 commit comments

Comments
 (0)