Skip to content

Commit d0fb1a7

Browse files
authored
Update Rust toolchain condition in CI workflow
1 parent b5efb86 commit d0fb1a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
- name: Install latest ${{ matrix.toolchain }}
101101
uses: dtolnay/rust-toolchain@master
102102
with:
103-
toolchain: ${{ matrix.toolchain }}
103+
toolchain: ${{ matrix.example == 'call-native-function' && 'nightly' || matrix.toolchain }}
104104
- name: Build .NET project for '${{ matrix.example }}'
105105
working-directory: ./examples/${{ matrix.example }}/ExampleProject
106106
run: dotnet build

0 commit comments

Comments
 (0)