Skip to content

Commit f4984c1

Browse files
committed
Just run dotnet build to build. No scripts.
1 parent e371f28 commit f4984c1

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,10 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111

1212
steps:
13-
- uses: actions/checkout@v2
14-
- name: Use .NET Core 3.1 SDK
15-
uses: actions/setup-dotnet@v1
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-dotnet@v4
1615
with:
17-
dotnet-version: '3.1.x'
18-
- name: Use .NET Core 5.0.x SDK
19-
uses: actions/setup-dotnet@v1
20-
with:
21-
dotnet-version: '5.0.x'
22-
# Not specifying a version will attempt to install via global.json
23-
- name: Use .NET Core global.json
24-
uses: actions/setup-dotnet@v1
16+
dotnet-version: '9.0.x'
2517

2618
- name: Build
27-
if: runner.os != 'Windows'
28-
run: |
29-
chmod +x ./build.sh
30-
./build.sh
31-
env:
32-
CI: true
33-
- name: Build
34-
if: runner.os == 'Windows'
35-
run: ./build.cmd
36-
env:
37-
CI: true
19+
run: dotnet build -c Release

0 commit comments

Comments
 (0)