Update build.yaml

This commit is contained in:
cxfksword 2023-11-24 22:54:16 +08:00 committed by GitHub
parent d27f0faf65
commit 61d2a5a97f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -12,8 +12,11 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3 - uses: actions/setup-dotnet@v3
id: dotnet
with: with:
dotnet-version: 6.0.x dotnet-version: 6.0.x
- name: force dotnet version
run: echo '{"sdk":{"version": "${{ steps.dotnet.outputs.dotnet-version }}"}}' > ./global.json
- name: print - name: print
run: dotnet --list-sdks && dotnet --info run: dotnet --list-sdks && dotnet --info
- name: Install dependencies - name: Install dependencies