Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
ci: try using powershell to set rust feature
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Dec 25, 2023
1 parent 3b4591d commit 64c01ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ jobs:

- name: Install NBGV
run: dotnet tool install -g nbgv
continue-on-error: true
if: ${{ matrix.os == 'macos-latest' }}

- name: Set Windows Feature
run: echo "rust_features='--features windows'" >> "$GITHUB_ENV"
shell: pwsh
run: Add-Content -Path $env:GITHUB_ENV -Value "rust_features=--features windows"
if: ${{ matrix.os == 'windows-latest' }}

- name: Build Rust
Expand Down

0 comments on commit 64c01ab

Please sign in to comment.