Skip to content

Commit 012e6bf

Browse files
committed
Fix logic for deciding current project directory in Core job
1 parent 07371e7 commit 012e6bf

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
} else {
187187
$thisProject = "Sdk.$env:PROJECT"
188188
}
189-
$thisProjectPath = "$env:WORKING_DIR\src\Sdk\$thisProject"
189+
$thisProjectPath = "$env:WORKING_DIR\src\Sdk\SecureFolderFS.$thisProject"
190190
Add-Content -Path $env:GITHUB_ENV -Value "THIS_PROJECT_PATH=$thisProjectPath"
191191
192192
- name: Restore
@@ -250,6 +250,16 @@ jobs:
250250
dotnet-version: ${{ env.DOTNET_SDK }}
251251
run-uno-check: false
252252

253+
- name: Find appropriate project to build
254+
run: |
255+
if ($env:PROJECT -eq "Core") {
256+
$thisProject = "Core"
257+
} else {
258+
$thisProject = "Core.$env:PROJECT"
259+
}
260+
$thisProjectPath = "$env:WORKING_DIR\src\Core\SecureFolderFS.$thisProject"
261+
Add-Content -Path $env:GITHUB_ENV -Value "THIS_PROJECT_PATH=$thisProjectPath"
262+
253263
- name: Restore
254264
run: |
255265
msbuild $env:SOLUTION_PATH `

0 commit comments

Comments
 (0)