Skip to content

Commit

Permalink
build: Try fix windows workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
aszepieniec committed Dec 3, 2024
1 parent 0785ac6 commit 71c1115
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-workaround
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
- name: Update RUSTFLAGS with --cfg tokio_unstable (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: echo "RUSTFLAGS=`$Env:RUSTFLAGS --cfg tokio_unstable" >> $Env:GITHUB_ENV
run: echo "RUSTFLAGS=$Env:RUSTFLAGS --cfg tokio_unstable" >> $Env:GITHUB_ENV

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
run: "echo RUSTFLAGS=\"$RUSTFLAGS --cfg tokio_unstable\" >> \"$GITHUB_ENV\""
- name: "Update RUSTFLAGS with --cfg tokio_unstable (Windows)"
if: "runner.os == 'Windows'"
run: "echo \"RUSTFLAGS=`$Env:RUSTFLAGS --cfg tokio_unstable\" >> $Env:GITHUB_ENV"
run: "echo \"RUSTFLAGS=$Env:RUSTFLAGS --cfg tokio_unstable\" >> $Env:GITHUB_ENV"
shell: "pwsh"
- name: Install dist
run: ${{ matrix.install_dist }}
Expand Down

0 comments on commit 71c1115

Please sign in to comment.