mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-20 18:51:19 +00:00
add use-action-with-specified-targets
to test targets
input in workflow
This commit is contained in:
parent
2391f1db8f
commit
17a40c86ca
15
.github/workflows/test.yml
vendored
15
.github/workflows/test.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user