Skip to content

Commit 4733e27

Browse files
authored
GitHub Actions: build (#623)
* GitHub Actions: build * wip
1 parent bdd883b commit 4733e27

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build (.NET 8)
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: windows-latest
11+
env:
12+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
13+
DOTNET_CLI_TELEMETRY_OPTOUT: true
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Setup .NET 8
19+
uses: actions/setup-dotnet@v4
20+
with:
21+
dotnet-version: '8.0.x'
22+
cache: true
23+
cache-dependency-path: |
24+
**/*.csproj
25+
**/*.sln
26+
27+
- name: Build
28+
run: dotnet build HwProj.sln -c Release

0 commit comments

Comments
 (0)