Skip to content

Commit 06e898c

Browse files
committed
Make sure all stable versions are available for build/test
1 parent cdeecc2 commit 06e898c

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

β€Ž.github/workflows/build.ymlβ€Ž

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ jobs:
6464
submodules: recursive
6565
fetch-depth: 0
6666

67+
- name: βš™ dotnet
68+
uses: actions/setup-dotnet@v4
69+
with:
70+
dotnet-version: |
71+
6.x
72+
8.x
73+
9.x
74+
6775
- name: πŸ™ build
6876
run: dotnet build -m:1 -bl:build.binlog
6977

@@ -79,11 +87,6 @@ jobs:
7987
name: logs
8088
path: '*.binlog'
8189

82-
- name: βš™ dotnet
83-
uses: actions/setup-dotnet@v4
84-
with:
85-
dotnet-version: 9.x
86-
8790
- name: πŸš€ sleet
8891
env:
8992
SLEET_CONNECTION: ${{ secrets.SLEET_CONNECTION }}

β€Ž.github/workflows/publish.ymlβ€Ž

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ jobs:
2626
submodules: recursive
2727
fetch-depth: 0
2828

29+
- name: βš™ dotnet
30+
uses: actions/setup-dotnet@v4
31+
with:
32+
dotnet-version: |
33+
6.x
34+
8.x
35+
9.x
36+
2937
- name: πŸ™ build
3038
run: dotnet build -m:1 -bl:build.binlog
3139

@@ -48,11 +56,6 @@ jobs:
4856
working-directory: bin
4957
run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
5058

51-
- name: βš™ dotnet
52-
uses: actions/setup-dotnet@v4
53-
with:
54-
dotnet-version: 9.x
55-
5659
- name: πŸš€ sleet
5760
env:
5861
SLEET_CONNECTION: ${{ secrets.SLEET_CONNECTION }}

0 commit comments

Comments
Β (0)