Forgejo Actions step that downloads the AnnoBase release named in the app settings
|
|
||
|---|---|---|
| action.yml | ||
| fetch.py | ||
| README.md | ||
annobase-fetch
Forgejo Actions step that puts the AnnoBase release named in the app settings next to the app.
- 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" }(backendappsettings.json) or"annobase": { "version": "1.0.4" }withkey: annobase.version(frontendpackage.json).token: the organisation secretANNOBASE_TOKEN(read-only token of theannobase-ciuser forannodev/anno-base).destination: default<workspace>/AnnoBase, which is where theAnnoBaseBackendPathand frontendlink: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.