Skip to content

Fetch Package.swift template on host (swift image has no curl)#1244

Merged
kishikawakatsumi merged 1 commit into
masterfrom
fix/spm-template-fetch-host
Jun 23, 2026
Merged

Fetch Package.swift template on host (swift image has no curl)#1244
kishikawakatsumi merged 1 commit into
masterfrom
fix/spm-template-fetch-host

Conversation

@kishikawakatsumi

Copy link
Copy Markdown
Member

Follow-up to #1242.

After #1242 moved the resolve/build into the swift:6.3-jammy container, the workflow failed at the download step (run 28041017642):

bash: line 6: curl: command not found
##[error]Process completed with exit code 127.

The swift:6.3-jammy image does not ship curl. This moves the template download back to the host runner (ubuntu-latest, which has curl) and keeps only the swift commands (dump-package, swift package update, swift build) inside the container.

Validated on the branch via workflow_dispatch: the host Fetch Package.swift template step succeeds and the run proceeds into the container build.

🤖 Generated with Claude Code

The swift:6.3-jammy image has no curl, so downloading the template inside
the container failed with "curl: command not found" (exit 127, run
28041017642). Fetch it on the host runner instead and only run the swift
commands in the container.

Follow-up to #1242.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 23, 2026 16:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@kishikawakatsumi kishikawakatsumi merged commit efcb998 into master Jun 23, 2026
1 check passed
@kishikawakatsumi kishikawakatsumi deleted the fix/spm-template-fetch-host branch June 23, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants