← Back to issue list

ci: use snaps output from snapcraft pack action

View original Github issue

Metadata

Project
imagecraft
Number
#438
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged. Resolved CI artifact upload failure by updating the snapcraft pack action output reference from singular snap to plural snaps. All CI checks passed.

Suggested action:

No scores available.

Issue body

Fixes an issue where the snap workflow failed during the upload artifact step with `Input required and not supplied: path` (see [run 34387324540](https://github.com/canonical/imagecraft/actions/runs/34387324540/job/102587117930)). The `canonical/craft-actions/snapcraft/pack` action exposes artifact outputs using plural naming (`snaps`), whereas the previous action used singular `snap`. This caused `${{ steps.build-imagecraft.outputs.snap }}` to evaluate to an empty string, causing `actions/upload-artifact` and `canonical/action-publish` to receive empty paths. --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/imagecraft/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [ ] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged. Resolved CI artifact upload failure by updating the snapcraft pack action output reference from singular snap to plural snaps. All CI checks passed.
qwen/qwen3.6-35b-a3b
Impact: 50
Quick Win: 47.5
Staleness: 0
Complexity: 5
Confidence: 85
needs review Fixes snap workflow artifact upload by changing snapcraft/pack output reference from 'snap' to 'snaps'. All CI checks passing, pending review.

Update history

Date Change
updated
updated
updated
created

Related issues

Issue Project State Summary Similarity
#307 ci: pack snap using craft-actions imagecraft merged Merged. Updated CI pipeline to replace action-build with the craft-actions snapcraft pack action. Approved by two reviewers and passed CI checks. The change updates a single workflow file.
81%