From 210b63d84af128121ef350a66c113a865f069607 Mon Sep 17 00:00:00 2001 From: Axel Souchet <1476421+0vercl0k@users.noreply.github.com> Date: Sat, 30 Dec 2023 12:41:11 -0800 Subject: [PATCH] Set the right BOCHS_REV (#7) --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df76e74..1f9264c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,7 +49,7 @@ jobs: shell: powershell run: | mkdir -p artifact/lib - bash -c 'sh prep.sh; cd Bochs/bochs; sh .conf.cpu-msvc;' + bash -c 'BOCHS_REV=$(cat BOCHS_REV) sh prep.sh; cd Bochs/bochs; sh .conf.cpu-msvc;' cd Bochs/bochs Start-Process nmake -ErrorAction SilentlyContinue -PassThru -Wait cp -Verbose cpu/libcpu.a ../../artifact/lib/cpu.lib @@ -65,7 +65,7 @@ jobs: shell: bash run: | mkdir -p artifact/lib - sh prep.sh + BOCHS_REV=$(cat BOCHS_REV) sh prep.sh cd Bochs/bochs sh .conf.cpu make -j ${{ env.NB_CPU }} || true