Skip to content

Commit

Permalink
安装多个版本
Browse files Browse the repository at this point in the history
  • Loading branch information
bit365 committed Nov 24, 2024
1 parent 26a32b5 commit 50e6b7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
dotnet-version: ['8.0.x', '9.0.x'] # 设置多个 .NET 版本
dotnet: [ '8.x', '9.x' ]

env:
PROJECT_DIR: EfCore.NamingConverter # 定义环境变量
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }} # 使用矩阵中的 .NET 版本
dotnet-version: ${{ matrix.dotnet }} # 使用矩阵中的 .NET 版本

- name: Restore dependencies
run: dotnet restore
Expand Down

0 comments on commit 50e6b7e

Please sign in to comment.