File tree Expand file tree Collapse file tree 11 files changed +68
-1
lines changed Expand file tree Collapse file tree 11 files changed +68
-1
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,19 @@ inputs:
32
32
default : false
33
33
required : false
34
34
type : boolean
35
+ checkout :
36
+ description : ' Whether to checkout the repository or not'
37
+ default : true
38
+ required : false
39
+ type : boolean
35
40
36
41
runs :
37
42
using : " composite"
38
43
steps :
39
44
40
45
- name : " Install Git and clone project"
41
46
uses : actions/checkout@v3
47
+ if : ${{ input.checkout == 'true' }}
42
48
43
49
- name : " Set up Python ${{ inputs.python-version }}"
44
50
uses : pyansys/actions/_setup-python@main
Original file line number Diff line number Diff line change @@ -16,13 +16,19 @@ inputs:
16
16
required : false
17
17
default : true
18
18
type : boolean
19
+ checkout :
20
+ description : ' Whether to checkout the repository or not'
21
+ default : true
22
+ required : false
23
+ type : boolean
19
24
20
25
runs :
21
26
using : " composite"
22
27
steps :
23
28
24
29
- name : " Install Git and clone project"
25
30
uses : actions/checkout@v3
31
+ if : ${{ input.checkout == 'true' }}
26
32
27
33
- name : " Set up Python"
28
34
uses : pyansys/actions/_setup-python@main
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ inputs:
28
28
required : false
29
29
default : ' '
30
30
type : string
31
+ checkout :
32
+ description : ' Whether to checkout the repository or not'
33
+ default : true
34
+ required : false
35
+ type : boolean
31
36
32
37
33
38
runs :
36
41
37
42
- name : " Install Git and clone project"
38
43
uses : actions/checkout@v3
44
+ if : ${{ input.checkout == 'true' }}
39
45
40
46
- name : " Set up Python ${{ inputs.python-version }}"
41
47
uses : pyansys/actions/_setup-python@main
Original file line number Diff line number Diff line change @@ -22,12 +22,17 @@ inputs:
22
22
required : false
23
23
default : ' '
24
24
type : string
25
+ checkout :
26
+ description : ' Whether to checkout the repository or not'
27
+ default : true
28
+ required : false
29
+ type : boolean
25
30
26
31
runs :
27
32
using : " composite"
28
33
steps :
29
34
- name : " Install Git and clone project"
30
- if : inputs.skip-install == 'false'
35
+ if : ${{ ( inputs.skip-install == 'false') && (input.checkout == 'true') }}
31
36
uses : actions/checkout@v3
32
37
33
38
- name : " Set up Python"
Original file line number Diff line number Diff line change @@ -12,13 +12,19 @@ inputs:
12
12
required : false
13
13
default : true
14
14
type : boolean
15
+ checkout :
16
+ description : ' Whether to checkout the repository or not'
17
+ default : true
18
+ required : false
19
+ type : boolean
15
20
16
21
runs :
17
22
using : " composite"
18
23
steps :
19
24
20
25
- name : " Install Git and clone project"
21
26
uses : actions/checkout@v3
27
+ if : ${{ input.checkout == 'true' }}
22
28
23
29
- name : " Set up Python"
24
30
uses : pyansys/actions/_setup-python@main
Original file line number Diff line number Diff line change @@ -32,13 +32,19 @@ inputs:
32
32
default : false
33
33
required : false
34
34
type : boolean
35
+ checkout :
36
+ description : ' Whether to checkout the repository or not'
37
+ default : true
38
+ required : false
39
+ type : boolean
35
40
36
41
runs :
37
42
using : " composite"
38
43
steps :
39
44
40
45
- name : " Install Git and clone project"
41
46
uses : actions/checkout@v3
47
+ if : ${{ (inputs.skip-install == 'false') && (input.checkout == 'true') }}
42
48
43
49
- name : " Check if X Virtual Frame Buffer is needed"
44
50
shell : bash
Original file line number Diff line number Diff line change @@ -57,6 +57,11 @@ inputs:
57
57
description : ' Check the existence of artifact(s) without downloading'
58
58
required : false
59
59
type : string
60
+ checkout :
61
+ description : ' Whether to checkout the repository or not'
62
+ default : true
63
+ required : false
64
+ type : boolean
60
65
61
66
runs :
62
67
using : " composite"
69
74
70
75
- name : " Checkout project in the GitHub Pages branch"
71
76
uses : actions/checkout@v3
77
+ if : ${{ input.checkout == 'true' }}
72
78
with :
73
79
ref : ' gh-pages'
74
80
Original file line number Diff line number Diff line change @@ -30,13 +30,19 @@ inputs:
30
30
default : ' 3'
31
31
required : false
32
32
type : string
33
+ checkout :
34
+ description : ' Whether to checkout the repository or not'
35
+ default : true
36
+ required : false
37
+ type : boolean
33
38
34
39
runs :
35
40
using : " composite"
36
41
steps :
37
42
38
43
- name : " Checkout project in the GitHub Pages branch"
39
44
uses : actions/checkout@v3
45
+ if : ${{ input.checkout == 'true' }}
40
46
with :
41
47
ref : ' gh-pages'
42
48
Original file line number Diff line number Diff line change @@ -18,13 +18,20 @@ inputs:
18
18
description : " Required application token for documentation deployment."
19
19
required : true
20
20
type : string
21
+ checkout :
22
+ description : ' Whether to checkout the repository or not'
23
+
24
+ default : true
25
+ required : false
26
+ type : boolean
21
27
22
28
runs :
23
29
using : " composite"
24
30
steps :
25
31
26
32
- name : " Checkout project in the GitHub Pages branch"
27
33
uses : actions/checkout@v3
34
+ if : ${{ input.checkout == 'true' }}
28
35
29
36
- name : " Download the HTML documentation artifact"
30
37
uses : actions/download-artifact@v3
Original file line number Diff line number Diff line change @@ -11,13 +11,19 @@ inputs:
11
11
description : " Required token for Vale commenter."
12
12
required : true
13
13
type : string
14
+ checkout :
15
+ description : ' Whether to checkout the repository or not'
16
+ default : true
17
+ required : false
18
+ type : boolean
14
19
15
20
runs :
16
21
using : " composite"
17
22
steps :
18
23
19
24
- name : " Install Git and clone project"
20
25
uses : actions/checkout@v3
26
+ if : ${{ input.checkout == 'true' }}
21
27
22
28
- name : " Run Vale"
23
29
uses : errata-ai/vale-action@reviewdog
Original file line number Diff line number Diff line change @@ -31,13 +31,20 @@ inputs:
31
31
default : false
32
32
required : false
33
33
type : boolean
34
+ checkout :
35
+ description : ' Whether to checkout the repository or not'
36
+ default : true
37
+ required : false
38
+ type : boolean
39
+
34
40
35
41
runs :
36
42
using : " composite"
37
43
steps :
38
44
39
45
- name : " Install Git and clone project"
40
46
uses : actions/checkout@v3
47
+ if : ${{ input.checkout == 'true' }}
41
48
42
49
- name : " Set up Python"
43
50
uses : pyansys/actions/_setup-python@main
You can’t perform that action at this time.
0 commit comments