This commit is contained in:
@@ -27,15 +27,15 @@ jobs:
|
||||
env:
|
||||
version: ${{steps.get_version.outputs.version-without-v}}
|
||||
url: https://www.uberwald.me/gitea/${{gitea.repository}}
|
||||
manifest: https://www.uberwald.me/gitea/public/${{gitea.repository}}/releases/download/latest/system.json
|
||||
download: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/${{gitea.repository}}.zip
|
||||
manifest: https://www.uberwald.me/gitea/public/fvtt-hellborn/releases/download/latest/system.json
|
||||
download: https://www.uberwald.me/gitea/public/fvtt-hellborn/releases/download/${{github.event.release.tag_name}}/fvtt-hellborn.zip
|
||||
|
||||
# Create a zip file with all files required by the module to add to the release
|
||||
- run: |
|
||||
apt update -y
|
||||
apt install -y zip
|
||||
|
||||
- run: zip -r ./${{gitea.repository}}.zip system.json README.md LICENSE assets/ css/ fonts/ lang/ module/ packs-system/ templates/ ${{gitea.repository}}.mjs
|
||||
- run: zip -r ./fvtt-hellborn.zip system.json README.md LICENSE assets/ css/ fonts/ lang/ module/ packs-system/ templates/ fvtt-hellborn.mjs
|
||||
|
||||
- name: setup go
|
||||
uses: https://github.com/actions/setup-go@v4
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
files: |-
|
||||
./${{gitea.repository}}.zip
|
||||
./fvtt-hellborn.zip
|
||||
system.json
|
||||
api_key: "${{secrets.ALLOW_PUSH_RELEASE}}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user