1
0

chore: add lost cd in CI script

This commit is contained in:
2026-02-02 16:22:32 +08:00
parent 09f07d99f7
commit b51ded2101
3 changed files with 6 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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