Skip to content

Commit 64f4eca

Browse files
committed
fix: use cd instead of working-directory which does not work
1 parent f99ed70 commit 64f4eca

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/bullmq-tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ jobs:
2727
yarn --version
2828
mkdir -p ${{github.workspace}}/build
2929
- name: Configure/Build
30-
working-directory: ${{github.workspace}}/build
31-
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
32-
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
3330
run: |
31+
cd ${{github.workspace}}/build
3432
cmake .. -DCMAKE_BUILD_TYPE=Debug -GNinja
3533
ninja dragonfly
3634
./dragonfly --alsologtostderr &
@@ -43,6 +41,6 @@ jobs:
4341
yarn install --ignore-engines --frozen-lockfile --non-interactive
4442
yarn build
4543
- name: Test BullMQ
46-
working-directory: ${{github.workspace}}/bullmq
4744
run: |
45+
cd ${{github.workspace}}/bullmq
4846
# yarn test -i -g "should process delayed jobs with several workers respecting delay"

.github/workflows/daily-builds.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,11 @@ jobs:
4242
mkdir -p ${{github.workspace}}/build
4343
4444
- name: Configure & Build
45-
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
46-
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
47-
working-directory: ${{github.workspace}}/build
4845
run: |
46+
cd ${{github.workspace}}/build
4947
cmake .. -DCMAKE_BUILD_TYPE=Debug -GNinja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ${{ matrix.flags }}
5048
ninja src/all
5149
- name: Test
52-
working-directory: ${{github.workspace}}/build
5350
run: |
51+
cd ${{github.workspace}}/build
5452
ctest -V -L DFLY

0 commit comments

Comments
 (0)