From bbfb64b3205ae671a2b34e56703d2b36d0171049 Mon Sep 17 00:00:00 2001 From: DaddyWesker Date: Thu, 27 Feb 2025 09:30:34 +0300 Subject: [PATCH] set env variable for windows --- .github/workflows/common.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index f7f25ac73..161bbff2a 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -54,15 +54,11 @@ jobs: run: | RUST_LOG=hyperon=debug cargo test - - name: Set RUST_LOG environment variable - if: ${{ startsWith(matrix.os, 'windows') }} - run: | - @set RUST_LOG=hyperon=debug - - name: Test Rust library Windows if: ${{ startsWith(matrix.os, 'windows') }} - working-directory: ./lib run: | + chcp 65001 #set code page to utf-8 + echo ("RUST_LOG=hyperon=debug" >> $env:GITHUB_ENV cargo test - name: Install cbindgen