mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-12-27 10:36:09 -07:00
workflows: run separate jobs
This commit is contained in:
parent
32a48fb292
commit
b870361b37
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -3,7 +3,7 @@ name: Test Action
|
|||
on: push
|
||||
|
||||
jobs:
|
||||
test:
|
||||
test-remote:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
@ -26,6 +26,11 @@ jobs:
|
|||
-e INPUT_KEY="${{secrets.SSH_PRIVATE_KEY}}" \
|
||||
-e INPUT_OPTIONS="--inventory hosts --limit remote" \
|
||||
action
|
||||
test-local:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Test local
|
||||
uses: ./
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue
Block a user