mirror of
https://github.com/tonytins/cstdotnet.git
synced 2025-03-22 08:22:18 +00:00
Target .NET 8 in Github Actions, hopefully
This commit is contained in:
parent
a228081732
commit
5f6e6c1935
2 changed files with 4 additions and 2 deletions
3
.github/workflows/dotnet.yml
vendored
3
.github/workflows/dotnet.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
|
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
dotnet: ["6.0.x"]
|
dotnet: ["8.0.x"]
|
||||||
platforms: ["ubuntu-latest", "windows-latest", "macos-latest"]
|
platforms: ["ubuntu-latest", "windows-latest", "macos-latest"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -22,6 +22,7 @@ jobs:
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: ${{ matrix.dotnet }}
|
dotnet-version: ${{ matrix.dotnet }}
|
||||||
|
dotnet-quality: 'preview'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|
3
.github/workflows/publish.yml
vendored
3
.github/workflows/publish.yml
vendored
|
@ -14,7 +14,8 @@ jobs:
|
||||||
- name: Setup dotnet
|
- name: Setup dotnet
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: "6.0.x"
|
dotnet-version: "8.0.x"
|
||||||
|
dotnet-quality: 'preview'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Package
|
- name: Package
|
||||||
|
|
Loading…
Add table
Reference in a new issue