annobase-fetch/README.md
Gergo bcb77261f4 AnnoBase release download step for product workflows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:13:36 +01:00

16 lines
1 KiB
Markdown

# annobase-fetch
Forgejo Actions step that puts the AnnoBase release named in the app settings next to the app.
```yaml
- uses: https://git.annodev.software/annodev/annobase-fetch@v1
with:
settings: Product/backend/Product.Api/appsettings.json
token: ${{ secrets.ANNOBASE_TOKEN }}
```
- `settings`: JSON file of the app, relative to the workspace. It holds `"AnnoBase": { "Version": "1.0.4" }` (backend `appsettings.json`) or `"annobase": { "version": "1.0.4" }` with `key: annobase.version` (frontend `package.json`).
- `token`: the organisation secret `ANNOBASE_TOKEN` (read-only token of the `annobase-ci` user for `annodev/anno-base`).
- `destination`: default `<workspace>/AnnoBase`, which is where the `AnnoBaseBackendPath` and frontend `link:` paths of the products point.
The step reads release `v<version>` of `annodev/anno-base`, downloads `manifest.json` and the archive it names, checks the sha256 and unpacks the archive. AnnoBase itself stays private; this repository holds only the download step.