Skip to content

Commit

Permalink
Merge pull request #5 from zartashaslam/t1
Browse files Browse the repository at this point in the history
a
  • Loading branch information
zartashaslam authored Aug 17, 2023
2 parents 1c6e633 + cc69dfe commit c85b2f2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-original.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test-original.yml
36 changes: 22 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
on:
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Test scenario tags'

es:
type: boolean
default: false
description: Use Repo 1?
dr:
type: boolean
default: false
description: Use Repo 2?
jobs:
printInputs:
runs-on: ubuntu-latest
steps:
- run: |
echo "Log level: ${{ github.event.inputs.logLevel }}"
echo "Tags: ${{ github.event.inputs.tags }}"
es-job:
name: Repo 1 Job
runs-on: ubuntu-latest
if: github.event.inputs.es == 'true'
steps:
- run: echo "some repo 1 job"

dr-job:
name: Repo 2 Job
runs-on: ubuntu-latest
if: github.event.inputs.dr == 'true'
steps:
- run: echo "some repo 2 job"

0 comments on commit c85b2f2

Please sign in to comment.