From e0db53ee597dccdcfb0a5371de2b09ba2a0811dc Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Wed, 20 Mar 2024 21:47:22 +0700 Subject: [PATCH] ci: checkout action to `ctest-action` directory --- .github/workflows/test.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6dd5d52..f1fb547 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,9 +15,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4.1.2 + with: + path: ctest-action - name: Prepare Sample Project - run: mv test/* . + run: mv ctest-action/test/* . - name: Configure and Build Project uses: threeal/cmake-action@v1.3.0 @@ -25,6 +27,6 @@ jobs: run-build: true - name: Test Project - uses: ./ + uses: ./ctest-action with: args: ${{ matrix.os == 'windows' && '-C Debug' || '' }}