From e580c4b6e5e10e1b14e876022bbe38c99319f7ee Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Sat, 7 Jan 2023 11:42:25 +0700 Subject: [PATCH] add workflow job to test this action with specified build dir --- .github/workflows/test.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 16dba8b..f4b006b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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