Skip to content

Commit b20b96e

Browse files
committed
test .net versions
1 parent 0cc87c2 commit b20b96e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/actions.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
- "**/*.md"
55
pull_request:
66
env:
7+
TEST_DOTNET_VERSION: |
8+
3.1.x
9+
6.0.x
710
DOTNET_VERSION: 6.0.x
811
SOLUTION_FILE: GrobExp.Compiler.sln
912
jobs:
@@ -17,7 +20,7 @@ jobs:
1720
- name: Setup .NET Core
1821
uses: actions/setup-dotnet@v3
1922
with:
20-
dotnet-version: ${{ env.DOTNET_VERSION }}
23+
dotnet-version: ${{ env.TEST_DOTNET_VERSION }}
2124

2225
- name: Install dependencies
2326
run: dotnet restore ${{ env.SOLUTION_FILE }} --verbosity minimal && dotnet tool restore
@@ -68,7 +71,7 @@ jobs:
6871
run: dotnet pack --no-build --configuration Release ${{ env.SOLUTION_FILE }}
6972

7073
- name: Upload artifacts
71-
uses: actions/upload-artifact@v3
74+
uses: actions/upload-artifact@v4
7275
with:
7376
path: "**/*.nupkg"
7477
if-no-files-found: error

0 commit comments

Comments
 (0)