File tree Expand file tree Collapse file tree 3 files changed +15
-10
lines changed
Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 99 - reopened
1010jobs :
1111 branch-naming-policy :
12- runs-on : ubuntu-latest
12+ runs-on : ubuntu-24.04
1313 steps :
1414 - name : Checkout
1515 uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1515jobs :
1616 # Build test and analyze source code
1717 build_test_analyze :
18- runs-on : ubuntu-22 .04
18+ runs-on : ubuntu-24 .04
1919 strategy :
2020 matrix :
2121 java-version : [21]
3030 distribution : " adopt"
3131 java-version : ${{ matrix.java-version }}
3232
33+ # Setup Python
34+ - name : Setup Python
35+ uses : actions/setup-python@v5
36+ with :
37+ python-version : ' 3.12'
38+
3339 # Install all required .NET SDK versions
3440 - name : Install .NET SDKs (8.0, 9.0 and 10.0)
3541 uses : actions/setup-dotnet@v1
4248 # Install dependencies
4349 - name : Install dependencies
4450 run : |
45- sudo apt install -y make python3-pip python3- rpm
51+ sudo apt install -y make python3-rpm
4652 dotnet tool install --global dotnet-sonarscanner
4753 dotnet tool install --global Cake.Tool
4854 dotnet tool install --global JetBrains.dotCover.CommandLineTools
Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ jobs:
1111 runs-on : ubuntu-latest
1212 strategy :
1313 matrix :
14- dotnet-version : [8 .0.x]
14+ dotnet-version : [10 .0.x]
1515 steps :
1616 - name : Checkout Repository
1717 uses : actions/checkout@v4
18-
18+
1919 # Setup .NET SDK
2020 - name : Set up .NET SDK ${{ matrix.dotnet-version }}
2121 uses : actions/setup-dotnet@v1
2222 with :
2323 dotnet-version : ${{ matrix.dotnet-version }}
24-
24+
2525 # Setup cake tool
2626 - name : Setup cake tool
2727 run : dotnet tool install --global Cake.Tool
@@ -32,10 +32,10 @@ jobs:
3232 run : |
3333 # Copy Licence
3434 cp LICENSE NETCore.Keycloak.Client/
35-
35+
3636 # Build project
3737 dotnet cake build.cake --target=build
38-
38+
3939 # Deploy nuget package
4040 - name : Deploy nuget package
4141 if : success()
4444 run : |
4545 # Extract nuget package version
4646 NUGET_PKG_VERSION=$(cat NETCore.Keycloak.Client/NETCore.Keycloak.Client.csproj | grep "PackageVersion" | awk -F '>' '{print $2}' | awk -F '<' '{print $1}')
47-
47+
4848 # Deploy package
4949 dotnet nuget push NETCore.Keycloak.Client/bin/Release/Keycloak.NETCore.Client.${NUGET_PKG_VERSION}.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
50-
You can’t perform that action at this time.
0 commit comments