升级net9 #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET Core | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@master | |
with: | |
dotnet-version: 9.0.100 | |
- name: dotnet info | |
run: dotnet --info | |
- name: dotnet restore | |
run: dotnet restore ./src/JT905.Protocol.sln | |
- name: dotnet jt905 build | |
run: dotnet build ./src/JT905.Protocol.Test/JT905.Protocol.Test.csproj | |
- name: dotnet jt905 test | |
run: dotnet test ./src/JT905.Protocol.Test/JT905.Protocol.Test.csproj |