Adding publishing of artifacts
release / build (push) Successful in 4m53s

This commit is contained in:
ml
2026-07-16 21:31:01 +02:00
parent 5ac145bff6
commit f65b9be1df
5 changed files with 47 additions and 9 deletions
+5 -1
View File
@@ -326,6 +326,7 @@ Settings → Actions → Secrets, add:
| `RELEASE_KEYSTORE_PROPERTIES` | the full contents of `SchwertUndMagieOnPebbleCompanionApp/keystore.properties` (§2.2) |
| `REGISTRY_USER` | same as `REGISTRY_USER` in `registry.env` |
| `REGISTRY_PASSWORD` | same as `REGISTRY_PASSWORD` in `registry.env` |
| `DL_SFTP_KEY` | private key (PEM) for the `uploader` SFTP account on dl.ladkau.de |
`secrets.GITEA_TOKEN` (used to create the release and upload assets) is
Gitea's own auto-generated per-job token — nothing to create or add yourself.
@@ -341,7 +342,10 @@ git push origin v1.2.3
```
Watch the run under the repo's Actions tab. On success, the release appears
under the repo's Releases page with the three versioned artifacts attached.
under the repo's Releases page with the three versioned artifacts attached,
and the same three files are uploaded over SFTP to
`dl.ladkau.de:files/schwert-und-magie/` (using the `DL_SFTP_KEY` secret,
§4.3) for direct download outside of Gitea.
To build the same versioned artifacts locally without pushing a tag (e.g. to
test before releasing), either run `dist.sh` directly with the host toolchain: