Skip to content

Commit a55dc72

Browse files
committed
tweak the gh action for no-xamarin
1 parent dfa4198 commit a55dc72

File tree

1 file changed

+9
-28
lines changed

1 file changed

+9
-28
lines changed

.github/workflows/dotnet.yml

Lines changed: 9 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: .NET
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ no-xamarin ]
66
pull_request:
77
branches: [ master ]
88

@@ -11,8 +11,8 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
# TODO want macos-latest here too, but the build currently fails there
15-
os: [windows-latest]
14+
# TODO want macos here too, but the build currently fails there
15+
os: [windows-2022]
1616

1717
runs-on: ${{ matrix.os }}
1818

@@ -25,35 +25,16 @@ jobs:
2525
with:
2626
repository: ericsink/cb
2727
path: "cb"
28-
- name: "Set up Java: 11"
29-
uses: actions/setup-java@v1
30-
with:
31-
java-version: 11
32-
- name: Setup Android SDK 27, 28, 29 and 30
33-
uses: android-actions/setup-android@v3
34-
with:
35-
cmdline-tools-version: 9123335
36-
- run: sdkmanager tools "platforms;android-27" "platforms;android-28" "platforms;android-29" "platforms;android-30"
37-
- name: Setup .NET 6
38-
uses: actions/setup-dotnet@v1
28+
- name: Setup .NET
29+
uses: actions/setup-dotnet@v4
3930
with:
40-
dotnet-version: 6.0.x
41-
include-prerelease: true
42-
- name: Install workload ios
43-
run: dotnet workload install ios
44-
- name: Install workload maccatalyst
45-
run: dotnet workload install maccatalyst
46-
- name: Install workload android
47-
run: dotnet workload install android
48-
- name: Install workload tvos
49-
run: dotnet workload install tvos
50-
- name: Setup .NET 3.1
51-
uses: actions/setup-dotnet@v1
52-
with:
53-
dotnet-version: 3.1.x
31+
dotnet-version: 9.0.x
32+
- name: Install workload maui
33+
run: dotnet workload install maui
5434
- name: Install T4
5535
run: dotnet tool install --global dotnet-t4
5636
- name: Build
5737
run: |
5838
cd SQLitePCL.raw/build
5939
dotnet run
40+

0 commit comments

Comments
 (0)