File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 steps :
2626 - name : Checkout
2727 uses : actions/checkout@v4
28- with :
28+ with :
2929 fetch-depth : 0
30+ ref : main
3031
3132 - name : Set Version
3233 id : package_version
5758 steps :
5859 - uses : actions/checkout@v4
5960 with :
60- fetch-depth : 0 # Get all history to allow automatic versioning using MinVer
61+ fetch-depth : 0
62+ ref : main
6163
6264 # Install the .NET SDK indicated in the global.json file
6365 - name : Setup .NET
@@ -104,7 +106,10 @@ jobs:
104106 run_test :
105107 runs-on : ubuntu-latest
106108 steps :
107- - uses : actions/checkout@v3
109+ - uses : actions/checkout@v4
110+ with :
111+ fetch-depth : 0
112+ ref : main
108113 - name : Setup .NET
109114 uses : actions/setup-dotnet@v4
110115 - name : Run tests
@@ -115,7 +120,9 @@ jobs:
115120 needs : [ validate_nuget, run_test ]
116121 steps :
117122 - uses : actions/checkout@v4
118-
123+ with :
124+ fetch-depth : 0
125+ ref : main
119126 - name : Create Release
120127 run : gh release create ${{ github.ref_name }} --generate-notes
121128 env :
You can’t perform that action at this time.
0 commit comments