Skip to content

Commit

Permalink
fix version numbers in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Jan 11, 2024
1 parent d512b4e commit 9669725
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
strategy:
matrix:
dotnet:
- 8.0 # EOL: 2026-11-10
- 7.0 # EOL: 2024-05-14
- 6.0 # EOL: 2024-11-12
- 8 # EOL: 2026-11-10
- 7 # EOL: 2024-05-14
- 6 # EOL: 2024-11-12
# version support doc: https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core
steps:
- uses: actions/checkout@v4
Expand All @@ -41,16 +41,16 @@ jobs:
uses: actions/setup-dotnet@v4
id: setup
with:
dotnet-version: ${{ matrix.dotnet }}.x
dotnet-version: ${{ matrix.dotnet }}.0.x
- name: Create temporary global.json
run: "echo '{\"sdk\":{\"version\": \"${{ steps.setup.outputs.dotnet-version }}\"}}' > ./global.json"
working-directory: getargv.cs
- name: Restore dependencies
run: dotnet restore -p:TargetFramework=net${{ matrix.dotnet }}
run: dotnet restore -p:TargetFramework=net${{ matrix.dotnet }}.0
working-directory: getargv.cs
- name: Build
run: dotnet build --no-restore --framework net${{ matrix.dotnet }}
run: dotnet build --no-restore --framework net${{ matrix.dotnet }}.0
working-directory: getargv.cs
- name: Test
run: dotnet test --no-build --verbosity normal --framework net${{ matrix.dotnet }}
run: dotnet test --no-build --verbosity normal --framework net${{ matrix.dotnet }}.0
working-directory: getargv.cs

0 comments on commit 9669725

Please sign in to comment.