Skip to content

ci: Don't double-compress Linux metadata tarball#2023

Merged
wjt merged 1 commit intomainfrom
dependabot/github_actions/github-985357984d
Mar 10, 2026
Merged

ci: Don't double-compress Linux metadata tarball#2023
wjt merged 1 commit intomainfrom
dependabot/github_actions/github-985357984d

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 5, 2026

actions/upload-artifact@v7 adds the ability to upload a single file
without wrapping it in a .zip file. This is useful because we upload a tarball
containing the .desktop file, AppStream metainfo file, and icons
necessary to build a Linux package for the game as a .tar.gz (because it
is ultimately attached to the release, where bare files were already
supported).

Update actions/upload-artifact from 6 to 7 and actions/download-artifact
from 7 to 8. Use the new archive: false parameter. Remove the name:
parameter which is documented to be ignored in this mode.

While we're here: don't attach the .pck file separately. We are already
uploading the web build as a .zip containing the same file. Instead
adjust the other steps to fetch it from the web build.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Mar 5, 2026
@dependabot dependabot bot requested a review from a team as a code owner March 5, 2026 06:33
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Mar 5, 2026
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

Play this branch at https://play.threadbare.game/branches/endlessm/dependabot/github_actions/github-985357984d.

(This launches the game from the start, not directly at the change(s) in this pull request.)

@wjt
Copy link
Member

wjt commented Mar 5, 2026

Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload

This is great because we currently upload single files which get zipped. We should adopt this new API as part of this change.

@wjt wjt self-assigned this Mar 5, 2026
@wjt wjt changed the title Bump the github group with 2 updates Update actions/upload-artifact and /download-artifact Mar 5, 2026
@wjt wjt force-pushed the dependabot/github_actions/github-985357984d branch 2 times, most recently from 90ef1d9 to a7a8905 Compare March 10, 2026 10:05
@wjt wjt changed the title Update actions/upload-artifact and /download-artifact ci: Don't double-compress Linux metadata tarball Mar 10, 2026
actions/upload-artifact@v7 adds the ability to upload a single file
without wrapping it in a .zip file. This is useful because we upload a tarball
containing the .desktop file, AppStream metainfo file, and icons
necessary to build a Linux package for the game as a .tar.gz (because it
is ultimately attached to the release, where bare files were already
supported).

Update actions/upload-artifact from 6 to 7 and actions/download-artifact
from 7 to 8. Use the new archive: false parameter. Remove the name:
parameter which is documented to be ignored in this mode.

While we're here: don't attach the .pck file separately. We are already
uploading the web build as a .zip containing the same file. Instead
adjust the other steps to fetch it from the web build.
@wjt wjt force-pushed the dependabot/github_actions/github-985357984d branch from a7a8905 to 9aecd8f Compare March 10, 2026 10:16
@wjt wjt merged commit 01429b1 into main Mar 10, 2026
6 checks passed
@wjt wjt deleted the dependabot/github_actions/github-985357984d branch March 10, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant