-
Notifications
You must be signed in to change notification settings - Fork 102
52 lines (46 loc) · 1.39 KB
/
workflow-tester73.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Test 73 # Related to https://stackoverflow.com/questions/74644525/how-to-run-a-reusable-workflow-conditionnaly
on:
workflow_dispatch:
inputs:
skip:
type: boolean
description: skip the workflow or not
required: true
default: false
jobs:
check:
runs-on: ubuntu-latest
steps:
- run: echo ${{ inputs.skip }}
build1:
name: build1
if: ${{ inputs.skip == 'false' }}
uses: GuillaumeFalourd/poc-github-actions/.github/workflows/workflow-tester52-reusable.yml@main
with:
input_var: 'something'
another_input_var: 'something else'
secrets: inherit
build2:
name: build2
if: ${{ inputs.skip == false }}
uses: GuillaumeFalourd/poc-github-actions/.github/workflows/workflow-tester52-reusable.yml@main
with:
input_var: 'something'
another_input_var: 'something else'
secrets: inherit
build3:
name: build3
if: ${{ ! inputs.skip }}
uses: GuillaumeFalourd/poc-github-actions/.github/workflows/workflow-tester52-reusable.yml@main
with:
input_var: 'something'
another_input_var: 'something else'
secrets: inherit
build4:
name: build4
if: ${{ inputs.skip }}
uses: GuillaumeFalourd/poc-github-actions/.github/workflows/workflow-tester52-reusable.yml@main
with:
input_var: 'something'
another_input_var: 'something else'
secrets: inherit