workflows: run separate jobs

This commit is contained in:
Dawid Dziurla 2020-04-06 23:45:33 +02:00 committed by GitHub
parent 32a48fb292
commit b870361b37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ name: Test Action
on: push on: push
jobs: jobs:
test: test-remote:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
@ -26,6 +26,11 @@ jobs:
-e INPUT_KEY="${{secrets.SSH_PRIVATE_KEY}}" \ -e INPUT_KEY="${{secrets.SSH_PRIVATE_KEY}}" \
-e INPUT_OPTIONS="--inventory hosts --limit remote" \ -e INPUT_OPTIONS="--inventory hosts --limit remote" \
action action
test-local:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Test local - name: Test local
uses: ./ uses: ./
with: with: