File tree Expand file tree Collapse file tree 3 files changed +20
-13
lines changed Expand file tree Collapse file tree 3 files changed +20
-13
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ jobs:
1414 env :
1515 solution-path : ' ./src/ICG NetCore Utilities.sln'
1616 steps :
17- - uses : actions/checkout@v3
17+ - uses : actions/checkout@v4
1818 with :
1919 fetch-depth : 0
2020
2121 - name : Ensure .NET Installed
22- uses : actions/setup-dotnet@v3
22+ uses : actions/setup-dotnet@v4
2323 with :
2424 dotnet-version : 8.0.x
2525
@@ -49,25 +49,25 @@ jobs:
4949 solution-path : ' ./src/ICG NetCore Utilities.sln'
5050 steps :
5151 - name : Set up JDK 11
52- uses : actions/setup-java@v3
52+ uses : actions/setup-java@v4
5353 with :
5454 java-version : 11
5555 distribution : zulu
5656
57- - uses : actions/checkout@v2
57+ - uses : actions/checkout@v4
5858 with :
5959 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
6060
6161 - name : Cache SonarCloud packages
62- uses : actions/cache@v3.3.1
62+ uses : actions/cache@v4.2.0
6363 with :
6464 path : ~\sonar\cache
6565 key : ${{ runner.os }}-sonar
6666 restore-keys : ${{ runner.os }}-sonar
6767
6868 - name : Cache SonarCloud scanner
6969 id : cache-sonar-scanner
70- uses : actions/cache@v3.3.1
70+ uses : actions/cache@v4.2.0
7171 with :
7272 path : .\.sonar\scanner
7373 key : ${{ runner.os }}-sonar-scanner
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ jobs:
1313 env :
1414 solution-path : ' ./src/ICG NetCore Utilities.sln'
1515 steps :
16- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v4
1717 with :
1818 fetch-depth : 0
1919
2020 - name : Ensure .NET Installed
21- uses : actions/setup-dotnet@v3
21+ uses : actions/setup-dotnet@v4
2222 with :
2323 dotnet-version : 8.0.x
2424
4141 run : dotnet test "${{ env.solution-path }}" --no-build --configuration Release
4242
4343 - name : Publish
44- run : nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.ICG_NUGET_API_KEY}}
44+ run : dotnet nuget push **\*.nupkg -s 'https://api.nuget.org/v3/index.json' -k ${{secrets.ICG_NUGET_API_KEY}}
Original file line number Diff line number Diff line change @@ -3,15 +3,22 @@ next-version: 5.1.4
33branches :
44 develop :
55 regex : develop
6- tag : ' alpha'
6+ label : ' alpha'
77 increment : Patch
8+ prevent-increment :
9+ when-current-commit-tagged : true
810 source-branches : []
11+ hotfix :
12+ regex : hotfix[/-]
13+ source-branches : [develop]
14+ prevent-increment :
15+ when-current-commit-tagged : true
16+ is-release-branch : true
917 pull-request :
1018 regex : (pull|pull\-requests|pr)[/-]
11- tag : ' pr'
12- tag -number-pattern : ' [/-](?<number>\d+)[-/]'
19+ label : ' pr'
20+ label -number-pattern : ' [/-](?<number>\d+)[-/]'
1321 increment : Patch
14- prevent-increment-of-merged-branch-version : false
1522 is-release-branch : false
1623 source-branches : []
1724ignore :
You can’t perform that action at this time.
0 commit comments