Skip to content

ci: Fix attaching linux metadata to release#2063

Merged
manuq merged 1 commit intomainfrom
wjt/ci-fix-attaching-linux-metadata-to-release
Mar 20, 2026
Merged

ci: Fix attaching linux metadata to release#2063
manuq merged 1 commit intomainfrom
wjt/ci-fix-attaching-linux-metadata-to-release

Conversation

@wjt
Copy link
Member

@wjt wjt commented Mar 18, 2026

In commit 01429b1 I took advantage of a
new feature in actions/upload-artifact to upload the .tar.gz file
without wrapping it in a .zip file.

However I did not update the release step to match. Fix this.

Rework the release step so that it downloads everything first,
then uploads. Don't unpack the whole web artifact and re-pack it: use
the new skip-decompress flag to get the .zip file, and attach that
directly to the release.

Factor out setting GITHUB_TOKEN in the environment.

Resolves #2062

@wjt
Copy link
Member Author

wjt commented Mar 18, 2026

I intend to test this as follows:

@github-actions
Copy link

github-actions bot commented Mar 18, 2026

Test build no longer available.

@wjt wjt force-pushed the wjt/ci-fix-attaching-linux-metadata-to-release branch 3 times, most recently from 5c10cfd to b43f4f5 Compare March 18, 2026 16:19
@wjt
Copy link
Member Author

wjt commented Mar 18, 2026

https://github.com/endlessm/threadbare/releases/tag/v0.1.11%2Btest3 demonstrates that this works

In commit 01429b1 I took advantage of a
new feature in actions/upload-artifact to upload the .tar.gz file
without wrapping it in a .zip file.

However I did not update the release step to match. Fix this.

Rework the release step so that it downloads everything first, renames
as needed, then uploads all appropriately-named files.

Don't unpack the whole web artifact and re-pack it: use the new
skip-decompress flag to get the .zip file, and attach that directly to
the release.

Factor out setting GITHUB_TOKEN in the environment.

Resolves #2062
@wjt wjt force-pushed the wjt/ci-fix-attaching-linux-metadata-to-release branch from b43f4f5 to 3afb676 Compare March 18, 2026 16:28
@wjt wjt marked this pull request as ready for review March 18, 2026 16:28
@wjt wjt requested a review from a team as a code owner March 18, 2026 16:28
@wjt
Copy link
Member Author

wjt commented Mar 19, 2026

Once merged I will delete the pre-release to remove an unnecessary build from the amalgamation.

@manuq manuq merged commit e39c5b2 into main Mar 20, 2026
6 checks passed
@manuq manuq deleted the wjt/ci-fix-attaching-linux-metadata-to-release branch March 20, 2026 12:16
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.

threadbare-linux-metadata artifact not being attached to releases

2 participants