File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ jobs:
166166 env :
167167 CONFIGURATION : ${{ matrix.configuration }}
168168 PROJECT : ${{ matrix.project }}
169- THIS_PROJECT_PATH : ${{ github.workspace }}\src\Sdk\SecureFolderFS.Sdk.${{ matrix.project }}
170169
171170 steps :
172171 - name : Checkout the repository
@@ -180,6 +179,16 @@ jobs:
180179 dotnet-version : ${{ env.DOTNET_SDK }}
181180 run-uno-check : false
182181
182+ - name : Find appropriate project to build
183+ run : |
184+ if ($env:PROJECT -eq "Sdk") {
185+ $thisProject = "Sdk"
186+ } else {
187+ $thisProject = "Sdk.$env:PROJECT"
188+ }
189+ $thisProjectPath = "$env:WORKING_DIR\src\Sdk\$thisProject"
190+ Add-Content -Path $env:GITHUB_ENV -Value "THIS_PROJECT_PATH=$thisProjectPath"
191+
183192 - name : Restore
184193 run : |
185194 msbuild $env:SOLUTION_PATH `
You can’t perform that action at this time.
0 commit comments