mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2024-11-22 15:32:18 +00:00
workflows: run separate jobs
This commit is contained in:
parent
32a48fb292
commit
b870361b37
1 changed files with 6 additions and 1 deletions
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 a new issue