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 30f1411 commit 0afed44Copy full SHA for 0afed44
.github/workflows/swift_package_test.yml
@@ -692,10 +692,16 @@ jobs:
692
- name: Determine script-root path
693
id: script_path
694
run: |
695
+ if ("${{ inputs.enable_windows_docker }}" -eq "true") {
696
+ $source = "C:\source"
697
+ } else {
698
+ $source = $env:GITHUB_WORKSPACE
699
+ }
700
+
701
if ("${{ github.repository }}" -eq "swiftlang/github-workflows") {
- echo "root=$env:GITHUB_WORKSPACE" >> $env:GITHUB_OUTPUT
702
+ echo "root=$source" >> $env:GITHUB_OUTPUT
703
} else {
- echo "root=$env:GITHUB_WORKSPACE/github-workflows" >> $env:GITHUB_OUTPUT
704
+ echo "root=$source/github-workflows" >> $env:GITHUB_OUTPUT
705
}
706
- name: Provide token
707
if: ${{ inputs.needs_token }}
0 commit comments