File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 25
25
steps :
26
26
- name : Checkout
27
27
uses : actions/checkout@v4
28
- with :
28
+ with :
29
29
fetch-depth : 0
30
+ ref : main
30
31
31
32
- name : Set Version
32
33
id : package_version
57
58
steps :
58
59
- uses : actions/checkout@v4
59
60
with :
60
- fetch-depth : 0 # Get all history to allow automatic versioning using MinVer
61
+ fetch-depth : 0
62
+ ref : main
61
63
62
64
# Install the .NET SDK indicated in the global.json file
63
65
- name : Setup .NET
@@ -104,7 +106,10 @@ jobs:
104
106
run_test :
105
107
runs-on : ubuntu-latest
106
108
steps :
107
- - uses : actions/checkout@v3
109
+ - uses : actions/checkout@v4
110
+ with :
111
+ fetch-depth : 0
112
+ ref : main
108
113
- name : Setup .NET
109
114
uses : actions/setup-dotnet@v4
110
115
- name : Run tests
@@ -115,7 +120,9 @@ jobs:
115
120
needs : [ validate_nuget, run_test ]
116
121
steps :
117
122
- uses : actions/checkout@v4
118
-
123
+ with :
124
+ fetch-depth : 0
125
+ ref : main
119
126
- name : Create Release
120
127
run : gh release create ${{ github.ref_name }} --generate-notes
121
128
env :
You can’t perform that action at this time.
0 commit comments