add use-action-with-specified-targets to test targets input in workflow

This commit is contained in:
Alfi Maulana 2023-01-11 15:52:55 +07:00
parent 2391f1db8f
commit 17a40c86ca
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

View File

@ -39,6 +39,21 @@ jobs:
- name: Check if the default build directory does not exist
run: test ! -d build
use-action-with-specified-targets:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3.3.0
- name: Use this action with specified targets
uses: ./
with:
source-dir: test
targets: test
- name: Run build result
run: build/test
use-action-with-specified-compiler:
runs-on: ubuntu-latest
strategy: