github action 支持多版本dotnet发布
This commit is contained in:
parent
6e9139366e
commit
13d3395e94
|
@ -17,7 +17,10 @@ jobs:
|
|||
- name: Setup dotNET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: 8.x
|
||||
dotnet-version: |
|
||||
6.0.x
|
||||
7.0.x
|
||||
8.x
|
||||
- name: Get Version
|
||||
run: echo "VERSION=$(date '+%Y.%m%d-beta%H%M')" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||
- name: Build
|
||||
|
|
|
@ -14,7 +14,10 @@ jobs:
|
|||
- name: Setup dotNET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: 8.x
|
||||
dotnet-version: |
|
||||
6.0.x
|
||||
7.0.x
|
||||
8.x
|
||||
- name: Build
|
||||
run: |
|
||||
dotnet build -c Release
|
||||
|
|
|
@ -17,7 +17,10 @@ jobs:
|
|||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: 8.x
|
||||
dotnet-version: |
|
||||
6.0.x
|
||||
7.0.x
|
||||
8.x
|
||||
- name: Build
|
||||
run: |
|
||||
dotnet build -c Release
|
||||
|
|
Loading…
Reference in New Issue