Skip to content

Commit 18df93e

Browse files
committed
update actions
1 parent b1435e4 commit 18df93e

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/Build.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ name: AuthorizationChecker [Build]
33
env:
44
JAVA_VERSION: 17
55
JAVA_DISTRIBUTION: microsoft
6-
DOTNET_VERSION: 7.0.x
6+
DOTNET_VERSION: |
7+
3.1.x
8+
6.0.x
9+
7.0.x
10+
8.0.x
11+
9.0.x
712
DOTNET_BUILD_CONFIGURATION: Release
813
SONAR_PATH: .\.sonar\scanner
914
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
@@ -16,8 +21,7 @@ on:
1621
workflow_dispatch:
1722
push:
1823
branches:
19-
- 'master'
20-
- 'develop'
24+
- "**"
2125

2226
jobs:
2327
build:
@@ -35,7 +39,7 @@ jobs:
3539
java-version: ${{ env.JAVA_VERSION }}
3640
distribution: ${{ env.JAVA_DISTRIBUTION }}
3741

38-
- name: Setup .NET
42+
- name: Set up .NET
3943
uses: actions/setup-dotnet@v3
4044
with:
4145
dotnet-version: ${{ env.DOTNET_VERSION }}

.github/workflows/Release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: AuthorizationChecker [Release]
22

33
env:
4-
DOTNET_VERSION: 7.0.x
4+
DOTNET_VERSION: 9.0.x
55
DOTNET_BUILD_CONFIGURATION: Release
66
DOTNET_PACKAGES_OUTPUT_DIRECTORY: .nuget
77
NUGET_SOURCE: https://api.nuget.org/v3/index.json
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
fetch-depth: 0
2424

25-
- name: Setup .NET
25+
- name: Set up .NET
2626
uses: actions/setup-dotnet@v3
2727
with:
2828
dotnet-version: ${{ env.DOTNET_VERSION }}

0 commit comments

Comments
 (0)