feat: add Foundry publish step to release workflow
This commit is contained in:
@@ -58,3 +58,14 @@ jobs:
|
||||
-H "Content-Type: application/json" \
|
||||
--data-binary @./system.json \
|
||||
"https://www.uberwald.me/gitea/api/v1/repos/$REPO/releases/$RELEASE_ID/assets?name=system.json"
|
||||
|
||||
- name: Publish to Foundry server
|
||||
uses: https://github.com/djlechuck/foundryvtt-publish-package-action@v1
|
||||
with:
|
||||
token: ${{ secrets.FOUNDRYVTT_RELEASE_TOKEN }}
|
||||
id: "fvtt-ecryme"
|
||||
version: ${{steps.get_version.outputs.version-without-v}}
|
||||
manifest: "https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/latest/system.json"
|
||||
notes: "https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/fvtt-ecryme-${{github.event.release.tag_name}}.zip"
|
||||
compatibility-minimum: "13"
|
||||
compatibility-verified: "14"
|
||||
|
||||
Reference in New Issue
Block a user