Skip to content

Commit 0945854

Browse files
committed
test2
1 parent 6e5dcc9 commit 0945854

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

Diff for: action.yml

+3-12
Original file line numberDiff line numberDiff line change
@@ -135,21 +135,12 @@ runs:
135135
# because setup is a Windows GUI app, make it part of a pipeline to make
136136
# PowerShell wait for it to exit
137137
& $setupExe $args | Out-Default
138-
# shell: pwsh
139138
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+
}
146142
echo "$installDir\bin"
147-
# shell: pwsh
148143
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'
153144
& "$installDir\bin\bash.exe" --login
154145
shell: pwsh
155146

0 commit comments

Comments
 (0)