Skip to content

Commit 72d3b37

Browse files
Enable caching for Swift setup (#1053)
1 parent f563e88 commit 72d3b37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ runs:
330330
if: inputs.swift-version != '' && inputs.swift-repo == ''
331331
uses: compnerd/gha-setup-swift@main
332332
with:
333+
cache: 'true'
333334
source: 'swift.org'
334335
swift-version: ${{ steps.sanitize-input.outputs.swift-branch }}
335336
swift-build: ${{ steps.sanitize-input.outputs.swift-tag }}
@@ -338,6 +339,7 @@ runs:
338339
if: inputs.swift-version != '' && inputs.swift-repo != ''
339340
uses: compnerd/gha-setup-swift@main
340341
with:
342+
cache: 'true'
341343
source: 'custom'
342344
github-repo: ${{ inputs.swift-repo }}
343345
github-token: ${{ github.token }}

0 commit comments

Comments
 (0)