mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-07-05 03:58:16 +08:00
Clean up .NET SDK installation
This commit is contained in:
46
.github/workflows/publish.yaml
vendored
46
.github/workflows/publish.yaml
vendored
@ -24,15 +24,12 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Setup dotnet 5.0.301
|
||||
- name: Setup .NET SDK
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 5.0.301
|
||||
|
||||
- name: Setup dotnet 6.0.100
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 6.0.100
|
||||
dotnet-version: |
|
||||
5.0.301
|
||||
6.0.100
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
@ -68,20 +65,13 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup dotnet 3.1.402
|
||||
- name: Setup .NET SDK
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 3.1.402
|
||||
|
||||
- name: Setup dotnet 5.0.301
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 5.0.301
|
||||
|
||||
- name: Setup dotnet 6.0.100
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 6.0.100
|
||||
dotnet-version: |
|
||||
3.1.402
|
||||
5.0.301
|
||||
6.0.100
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
@ -104,21 +94,13 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup dotnet 3.1.402
|
||||
- name: Setup .NET SDK
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 3.1.402
|
||||
|
||||
- name: Setup dotnet 5.0.301
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 5.0.301
|
||||
|
||||
- name: Setup dotnet 6.0
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 6.0.x
|
||||
include-prerelease: true
|
||||
dotnet-version: |
|
||||
3.1.402
|
||||
5.0.301
|
||||
6.0.100
|
||||
|
||||
- name: Publish
|
||||
shell: bash
|
||||
|
Reference in New Issue
Block a user