ci: upload the client build as an artifact #8

Merged
genji1024 merged 1 commit from ci/upload-client-dist into main 2026-10-12 09:46:32 +09:00
Collaborator

Closes #7

Changes

  • .forgejo/workflows/ci.yml: after every other check passes, upload client/dist as the client-dist artifact with Forgejo's fork of upload-artifact@v4 (upstream v4 refuses to run outside github.com). It is the last step, so only a run that passed everything produces an artifact.

Nothing runs on the host yet; this is the groundwork for previews that the host fetches through the artifacts API.

Verification

This pull request's own CI run is the test. Results (artifact created, API listing and zip download with and without a token) will be posted in #7.

Closes #7 ## Changes - **`.forgejo/workflows/ci.yml`**: after every other check passes, upload `client/dist` as the `client-dist` artifact with Forgejo's fork of `upload-artifact@v4` (upstream v4 refuses to run outside github.com). It is the last step, so only a run that passed everything produces an artifact. Nothing runs on the host yet; this is the groundwork for previews that the host fetches through the artifacts API. ## Verification This pull request's own CI run is the test. Results (artifact created, API listing and zip download with and without a token) will be posted in #7.
ci: upload the client build as an artifact
All checks were successful
ci / check (pull_request) Successful in 1m5s
fef4132bb0
The host will fetch it through the Actions artifacts API to serve a
preview of each pull request (#7). Uploaded last, so only a run that
passed every check produces one. Upstream upload-artifact@v4 refuses to
run outside github.com; Forgejo's fork does not.
genji1024 approved these changes 2026-10-12 09:46:04 +09:00
genji1024 left a comment

LGTM!

LGTM!
genji1024 deleted branch ci/upload-client-dist 2026-10-12 09:46:32 +09:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
genji1024/koto!8
No description provided.