File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: build
22
33on :
44 push :
5- branches : [ "main", "build" ]
65 pull_request :
7- branches : [ "main" ]
6+ branches :
7+ - main
88
99permissions :
1010 contents : read
1515 DOTNET_GENERATE_ASPNET_CERTIFICATE : 0
1616 ContinuousIntegrationBuild : true
1717 RestoreLockedMode : true
18- Configuration : Release
19- VersionSuffix : preview${{ github.run_id }}
2018
2119jobs :
2220 build :
21+ strategy :
22+ matrix :
23+ configuration : [ 'Debug', 'Release' ]
2324
2425 runs-on : ubuntu-22.04
2526
27+ env :
28+ Configuration : ${{ matrix.configuration }}
29+ VersionSuffix : preview${{ github.run_id }}
30+
2631 steps :
2732 - name : checkout
2833 uses : actions/checkout@v4
34+
2935 - name : setup dotnet
3036 uses : actions/setup-dotnet@v4
3137 with :
@@ -41,10 +47,10 @@ jobs:
4147 run : dotnet test --no-build --no-restore
4248
4349 - name : pack
44- run : dotnet pack --no-build --no-restore -o dist
50+ run : dotnet pack --no-build --no-restore -c ${{ matrix.configuration }} - o dist
4551
4652 - name : publish artifact
4753 uses : actions/upload-artifact@v4
4854 with :
49- name : VbaCompression_${{ env.VersionSuffix }}
55+ name : VbaCompression_${{ env.VersionSuffix }}_${{ matrix.configuration }}
5056 path : ' ${{ github.workspace }}/dist'
Original file line number Diff line number Diff line change 11# # Ignore Visual Studio temporary files, build results, and
22# # files generated by popular Visual Studio add-ons.
33
4+ dist /
5+
46# User-specific files
57* .suo
68* .user
You can’t perform that action at this time.
0 commit comments