Skip to content

Commit c94ee51

Browse files
authored
Update gha-setup-swift to latest (#1033)
* installer.exe * Update parameters * Update parameters
1 parent d89a917 commit c94ee51

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/actions/setup-build/action.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,15 +328,17 @@ runs:
328328

329329
- name: Setup Swift toolchain (Upstream)
330330
if: inputs.swift-version != '' && inputs.swift-repo == ''
331-
uses: compnerd/gha-setup-swift@6c9f2db7c3155c57fe35f160bcd5cf5859b9c1ba # main
331+
uses: compnerd/gha-setup-swift@main
332332
with:
333-
branch: ${{ steps.sanitize-input.outputs.swift-branch }}
334-
tag: ${{ steps.sanitize-input.outputs.swift-tag }}
333+
source: 'swift.org'
334+
swift-version: ${{ steps.sanitize-input.outputs.swift-branch }}
335+
swift-build: ${{ steps.sanitize-input.outputs.swift-tag }}
335336

336337
- name: Setup Swift toolchain (Custom)
337338
if: inputs.swift-version != '' && inputs.swift-repo != ''
338-
uses: compnerd/gha-setup-swift@6c9f2db7c3155c57fe35f160bcd5cf5859b9c1ba # main
339+
uses: compnerd/gha-setup-swift@main
339340
with:
341+
source: 'custom'
340342
github-repo: ${{ inputs.swift-repo }}
341343
github-token: ${{ github.token }}
342344
release-asset-name: ${{ steps.sanitize-input.outputs.swift-release-asset }}

0 commit comments

Comments
 (0)