Skip to content

Commit cddbe6d

Browse files
authored
Update action.yml
Attempt to add some comments to compress the script display.
1 parent 9d3fb9d commit cddbe6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ runs:
130130
- name: Fetch installer from swift.org
131131
if: runner.os == 'Windows' && inputs.source == 'swift.org'
132132
run: |
133+
# Download the appropriate installer
133134
$URL = if ("${{ inputs.build_arch }}" -eq "amd64") {
134135
"https://download.swift.org/${env:RESOLVED_SWIFT_VERSION}/windows10/swift-${env:RESOLVED_SWIFT_BUILD}/swift-${env:RESOLVED_SWIFT_BUILD}-windows10.exe"
135136
} else {
@@ -150,6 +151,7 @@ runs:
150151
id: install-swift
151152
if: runner.os == 'Windows'
152153
run: |
154+
# Perform installation
153155
$Installer = [IO.Path]::Combine(${env:Temp}, "installer.exe")
154156
$Arguments = "/quiet /lv*x ${env:Temp}/install.log ${{ inputs.installer-args }}".Split(" ", [StringSplitOptions]"RemoveEmptyEntries")
155157

0 commit comments

Comments
 (0)