diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index fc2d2ab..2f564c6 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -33,6 +33,7 @@ jobs: cd .. cd install echo "GTest_ROOT=$(pwd)" >> "$GITHUB_ENV" + cd .. cd ../.. - name: Fetch Google Benchmark uses: actions/checkout@v4 @@ -55,6 +56,7 @@ jobs: cd .. cd install echo "benchmark_ROOT=$(pwd)" >> "$GITHUB_ENV" + cd .. cd ../.. - name: Build YYCC shell: bash diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 9e15239..f6d3dfd 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -28,6 +28,7 @@ jobs: cd .. cd install echo "GTest_ROOT=$(pwd)" >> "$GITHUB_ENV" + cd .. cd ../.. - name: Fetch Google Benchmark uses: actions/checkout@v4 @@ -50,6 +51,7 @@ jobs: cd .. cd install echo "benchmark_ROOT=$(pwd)" >> "$GITHUB_ENV" + cd .. cd ../.. - name: Build YYCC shell: bash diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6ae96c9..a8aae90 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -38,6 +38,7 @@ jobs: :: Idk why I can't use $GITHUB_ENV, so I use this stupid way to do this. :: This is first entry so we override it. echo set GTest_ROOT=%CD% > ../../envs.bat + cd .. cd ../.. - name: Fetch Google Benchmark uses: actions/checkout@v4 @@ -62,6 +63,7 @@ jobs: cd install :: This is second entry so we append it. echo set benchmark_ROOT=%CD% >> ../../envs.bat + cd .. cd ../.. - name: Build YYCC shell: cmd