We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 372aaab commit 44cb7d0Copy full SHA for 44cb7d0
.github/workflows/dotnet.yml
@@ -1,13 +1,14 @@
1
# This workflow will build a .NET project
2
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3
4
-name: .NET
+name: Build & test
5
6
on:
7
push:
8
branches: [ "master" ]
9
- pull_request:
10
- branches: [ "master" ]
+
+env:
11
+ NET_VERSION: 10.x
12
13
jobs:
14
build:
@@ -16,10 +17,10 @@ jobs:
16
17
18
steps:
19
- uses: actions/checkout@v4
- - name: Setup .NET
20
+ - name: Setup .NET ${{ env.NET_VERSION }}
21
uses: actions/setup-dotnet@v4
22
with:
- dotnet-version: 10.0.x
23
+ dotnet-version: ${{ env.NET_VERSION }}
24
- name: Restore dependencies
25
run: dotnet restore
26
- name: Build
0 commit comments