Skip to content

Commit db3c75f

Browse files
committed
ci: Fixed.
1 parent b994d05 commit db3c75f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,20 @@ jobs:
6161
dotnet-version: 9.0.x
6262

6363
- name: Generate code
64-
run: dotnet run --project src/libs/AutoSDK.CLI
64+
run: dotnet run --framework net9.0 --project src/libs/AutoSDK.CLI
6565
init
6666
TestSolution
6767
TestApi
6868
https://raw.githubusercontent.com/api/openapi.json
6969
TestCompany
7070
--output TestProject
7171
--add-tests false
72-
--framework net9.0
7372

7473
- name: Generate code
75-
run: dotnet run --project src/libs/AutoSDK.CLI
74+
run: dotnet run --framework net9.0 --project src/libs/AutoSDK.CLI
7675
generate specs/${{ matrix.spec }}
7776
--namespace TestSolution
78-
--targetFramework net8.0
77+
--targetFramework net9.0
7978
--output TestProject/src/libs/TestSolution/Generated
8079
--ignore-openapi-errors
8180

0 commit comments

Comments
 (0)