File tree 1 file changed +3
-12
lines changed
1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -135,21 +135,12 @@ runs:
135
135
# because setup is a Windows GUI app, make it part of a pipeline to make
136
136
# PowerShell wait for it to exit
137
137
& $setupExe $args | Out-Default
138
- # shell: pwsh
139
138
140
- # - if: ${{ inputs.add-to-path == 'true' }}
141
- # run: |
142
- # $installDir = '${{ inputs.install-dir }}' -ne '' ? '${{ inputs.install-dir }}' : '${{ inputs.work-vol }}\cygwin'
143
- # if ('${{ inputs.add-to-path }}' -eq $true) {
144
- # echo "${installDir}\\bin" >> $env:GITHUB_PATH
145
- # }
139
+ if ('${{ inputs.add-to-path }}' -eq $true) {
140
+ echo "${installDir}\\bin" >> $env:GITHUB_PATH
141
+ }
146
142
echo "$installDir\bin"
147
- # shell: pwsh
148
143
149
- # - run: |
150
- # run login shell to copy skeleton profile files
151
- # echo "${CYGROOT}\bin"
152
- # $installDir = '${{ inputs.install-dir }}' -ne '' ? '${{ inputs.install-dir }}' : '${{ inputs.work-vol }}\cygwin'
153
144
& "$installDir\bin\bash.exe" --login
154
145
shell : pwsh
155
146
You can’t perform that action at this time.
0 commit comments