File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 10
10
steps :
11
11
- uses : actions/checkout@v4
12
12
with :
13
- fetch-depth : 0
13
+ # Needed for git tag updates below
14
+ fetch-tags : true
14
15
- uses : actions/setup-node@v4
15
16
with :
16
17
node-version : ' *'
Original file line number Diff line number Diff line change 13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- uses : actions/checkout@v4
16
- with :
17
- fetch-depth : 0
18
16
19
17
- name : 🔎 Get changed JavaScript files
20
18
id : changed-javascript-files
Original file line number Diff line number Diff line change 21
21
if : ${{ startsWith(github.head_ref, 'release-') }}
22
22
- uses : actions/checkout@v4
23
23
with :
24
+ # Needed for `nrwl/nx-set-shas` Action, ultimately for `nx affected`
24
25
fetch-depth : 0
26
+ fetch-tags : false
25
27
if : ${{ !steps.release-check.outputs.IS_RELEASE }}
26
28
- uses : nrwl/nx-set-shas@v3
27
29
if : ${{ !steps.release-check.outputs.IS_RELEASE }}
75
77
if : ${{ startsWith(github.head_ref, 'release-') }}
76
78
- uses : actions/checkout@v4
77
79
with :
80
+ # Needed for `nrwl/nx-set-shas` Action, ultimately for `nx affected`
78
81
fetch-depth : 0
82
+ fetch-tags : false
79
83
if : ${{ !steps.release-check.outputs.IS_RELEASE }}
80
84
- uses : nrwl/nx-set-shas@v3
81
85
if : ${{ !steps.release-check.outputs.IS_RELEASE }}
@@ -183,8 +187,6 @@ jobs:
183
187
if : ${{ startsWith(github.head_ref, 'release-') }}
184
188
- name : Git checkout
185
189
uses : actions/checkout@v4
186
- with :
187
- fetch-depth : 0
188
190
if : ${{ !steps.release-check.outputs.IS_RELEASE }}
189
191
- name : setup pnpm/yarn
190
192
run : corepack enable
You can’t perform that action at this time.
0 commit comments