add workflow job to test this action with specified build dir

This commit is contained in:
Alfi Maulana 2023-01-07 11:42:25 +07:00
parent a0fbcc2eb0
commit e580c4b6e5
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

View File

@ -31,3 +31,18 @@ jobs:
- name: Run build result
run: ./build/hello_world
use-action-with-specified-build-dir:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3.3.0
- name: Use this action with specified build directory
uses: ./
with:
source-dir: test
build-dir: test/build
- name: Run build result
run: test/build/hello_world