From 71c1115bae87a5568d7c0820150e28c0f1536bab Mon Sep 17 00:00:00 2001 From: Alan Szepieniec Date: Tue, 3 Dec 2024 14:28:19 +0100 Subject: [PATCH] build: Try fix windows workaround --- .github/workflows/build-workaround | 3 ++- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-workaround b/.github/workflows/build-workaround index 183909c02..c70a7954f 100644 --- a/.github/workflows/build-workaround +++ b/.github/workflows/build-workaround @@ -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 + diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bdd3e92ef..d99bc6dd3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}