File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 12
12
steps :
13
13
- name : Checkout Repository
14
14
uses : actions/checkout@v2
15
+ with :
16
+ ref : main # Specify the branch
17
+ token : ${{ secrets.GITHUB_TOKEN }}
18
+ submodules : recursive
19
+ clean : true
20
+ persist-credentials : false
21
+ fetch-depth : 1
22
+ node-version : 16 # Set Node.js version explicitly
15
23
16
- - name : Set up Node.js
24
+ - name : Use Node.js 16
17
25
uses : actions/setup-node@v4
18
26
with :
19
27
node-version : 16
32
40
steps :
33
41
- name : Checkout Repository
34
42
uses : actions/checkout@v2
43
+ with :
44
+ ref : main # Specify the branch
45
+ token : ${{ secrets.GITHUB_TOKEN }}
46
+ submodules : recursive
47
+ clean : true
48
+ persist-credentials : false
49
+ fetch-depth : 0
50
+ node-version : 16 # Set Node.js version explicitly
35
51
36
- - name : Set up Node.js
52
+ - name : Use Node.js 16
37
53
uses : actions/setup-node@v4
38
54
with :
39
55
node-version : 16
You can’t perform that action at this time.
0 commit comments