|
17 | 17 | with: |
18 | 18 | path: Dynamo |
19 | 19 | repository: DynamoDS/Dynamo |
| 20 | + - name: Create global.json |
| 21 | + run: | |
| 22 | + $globalJson = @" |
| 23 | + { |
| 24 | + "projects": ["src", "test"], |
| 25 | + "sdk": { |
| 26 | + "version": "8.0.100", |
| 27 | + "rollForward": "latestFeature" |
| 28 | + } |
| 29 | + } |
| 30 | + "@ |
| 31 | + $globalJson | Out-File -FilePath ${{ github.workspace }}\Dynamo\global.json -Encoding utf8 |
20 | 32 | - name: Setup dotnet |
21 | 33 | uses: actions/setup-dotnet@v4 |
22 | 34 | with: |
|
26 | 38 | - name: Setup msbuild |
27 | 39 | uses: microsoft/setup-msbuild@v2 |
28 | 40 | - name: Install dependencies for windows runtime |
29 | | - run: | |
30 | | - dotnet restore ${{ github.workspace }}\Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 |
| 41 | + run: dotnet restore ${{ github.workspace }}\Dynamo\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 |
31 | 42 | - name: Build Dynamo with MSBuild |
32 | | - run: | |
33 | | - Write-Output "***Continue with the build, Good luck developer!***" |
34 | | - msbuild ${{ github.workspace }}\Dynamo\src\Dynamo.All.sln /p:Configuration=Release |
| 43 | + run: msbuild ${{ github.workspace }}\Dynamo\src\Dynamo.All.sln /p:Configuration=Release |
35 | 44 | - name: Look for DynamoCLI.exe |
36 | 45 | run: | |
37 | 46 | Write-Output "***Locating DynamoCLI.exe!***" |
|
57 | 66 | path: master |
58 | 67 | ref: master |
59 | 68 | repository: DynamoDS/Dynamo |
| 69 | + - name: Create global.json |
| 70 | + run: | |
| 71 | + $globalJson = @" |
| 72 | + { |
| 73 | + "projects": ["src", "test"], |
| 74 | + "sdk": { |
| 75 | + "version": "8.0.100", |
| 76 | + "rollForward": "latestFeature" |
| 77 | + } |
| 78 | + } |
| 79 | + "@ |
| 80 | + $globalJson | Out-File -FilePath ${{ github.workspace }}\master\global.json -Encoding utf8 |
60 | 81 | - name: Setup dotnet |
61 | 82 | uses: actions/setup-dotnet@v4 |
62 | 83 | with: |
|
66 | 87 | - name: Setup msbuild |
67 | 88 | uses: microsoft/setup-msbuild@v2 |
68 | 89 | - name: Install dependencies for windows runtime |
69 | | - run: | |
70 | | - dotnet restore ${{ github.workspace }}\master\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 -p:DotNet=net8.0 |
| 90 | + run: dotnet restore ${{ github.workspace }}\master\src\Dynamo.All.sln /p:Configuration=Release --runtime=win-x64 |
71 | 91 | - name: Build Dynamo with MSBuild |
72 | | - run: | |
73 | | - Write-Output "***Continue with the build, Good luck developer!***" |
74 | | - msbuild ${{ github.workspace }}\master\src\Dynamo.All.sln /p:Configuration=Release /p:DotNet=net8.0 |
| 92 | + run: msbuild ${{ github.workspace }}\master\src\Dynamo.All.sln /p:Configuration=Release |
75 | 93 | - name: Look for DynamoCLI.exe |
76 | 94 | run: | |
77 | 95 | Write-Output "***Locating DynamoCLI.exe!***" |
|
0 commit comments