ci: simplify steps in test-action-with-specified-dirs job

This commit is contained in:
Alfi Maulana 2024-03-25 13:26:25 +07:00
parent 495dcb2d38
commit c18b3b04aa
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

View File

@ -101,14 +101,10 @@ jobs:
source-dir: cmake-action/test
build-dir: output
- name: Default Build Directory Should Not Exist
shell: bash
run: test ! -e build && test ! -e cmake-action/test/build
- name: Test Project
uses: threeal/ctest-action@v1.0.0
with:
test-dir: ${{ steps.cmake-action.outputs.build-dir }}
test-dir: output
tests-regex: hello_world
test-action-without-run-build: