We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcbe514 commit f70b0a8Copy full SHA for f70b0a8
.github/workflows/swift_package_test.yml
@@ -684,10 +684,16 @@ jobs:
684
- name: Determine script-root path
685
id: script_path
686
run: |
687
+ if ("${{ inputs.enable_windows_docker }}" -eq "true") {
688
+ $source = "C:\source"
689
+ } else {
690
+ $source = $env:GITHUB_WORKSPACE
691
+ }
692
+
693
if ("${{ github.repository }}" -eq "swiftlang/github-workflows") {
- echo "root=$env:GITHUB_WORKSPACE" >> $env:GITHUB_OUTPUT
694
+ echo "root=$source" >> $env:GITHUB_OUTPUT
695
} else {
- echo "root=$env:GITHUB_WORKSPACE/github-workflows" >> $env:GITHUB_OUTPUT
696
+ echo "root=$source/github-workflows" >> $env:GITHUB_OUTPUT
697
}
698
- name: Provide token
699
if: ${{ inputs.needs_token }}
0 commit comments