File tree 2 files changed +58
-0
lines changed
2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : dotnet build
2
+ description : Builds the packages and ensures their quality by running tests.
3
+ inputs :
4
+ assemblyVersion :
5
+ description : The scaler assembly's version.
6
+ required : true
7
+ buildConfiguration :
8
+ default : Debug
9
+ description : The dotnet build configuration.
10
+ required : false
11
+ fileVersion :
12
+ description : The scaler assembly's file version.
13
+ required : true
14
+ informationalVersion :
15
+ description : The scaler assembly's informational version.
16
+ required : true
17
+ dotnetVersion :
18
+ description : The version of dotnet to use.
19
+ required : true
20
+
21
+ runs :
22
+ using : composite
23
+ steps :
24
+ - name : Setup dotnet ${{ inputs.dotnetVersion }}
25
+ uses : actions/setup-dotnet@v3
26
+ with :
27
+ dotnet-version : ${{ inputs.dotnetVersion}}
28
+
Original file line number Diff line number Diff line change 54
54
uses : ./.github/actions/clean-storage-accounts
55
55
with :
56
56
environmentName : ${{vars.CIRESOURCEGROUPROOT}}
57
+ buildonLinux :
58
+ runs-on : ubuntu-latest
59
+ needs : setup
60
+ strategy :
61
+ matrix :
62
+ dotnet-version : [ '8.0.x', '6.0.x' ]
63
+ steps :
64
+ - name : Checkout
65
+ uses : actions/checkout@v4
66
+ with :
67
+ fetch-depth : 0
68
+
69
+ - name : Setup dotnet ${{ matrix.dotnet-version }}
70
+ uses : actions/setup-dotnet@v3
71
+ with :
72
+ dotnet-version : ${{ matrix.dotnet-version }}
73
+
74
+ - name : Build
75
+ uses : ./.github/actions/dotnet-build
76
+ with :
77
+ assemblyVersion : ${{steps.semver.outputs.assemblyVersion}}
78
+ buildConfiguration : ${{env.buildConfiguration}}
79
+ fileVersion : ${{steps.semver.outputs.fileVersion}}
80
+ informationalVersion : ${{steps.semver.outputs.informationalVersion}}
81
+ dotnetVersion : ${{matrix.dotnet-version}}
82
+ # - name: Test
83
+ # run: dotnet test --configuration ${{env.buildConfiguration}}
84
+
85
+ # - name: Publish
86
+ # run: dotnet publish --configuration ${{env.buildConfiguration}} --output ./publish
You can’t perform that action at this time.
0 commit comments