From ac6e8b46890e54956b5f1a5cc1ab6b78d768b5ec Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Sun, 10 Nov 2024 17:47:02 +0100 Subject: [PATCH] Add release build --- .gitea/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 3b5cc3ea..3261fa10 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -28,14 +28,14 @@ jobs: version: ${{steps.get_version.outputs.version-without-v}} url: https://www.uberwald.me/gitea/${{gitea.repository}} manifest: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/latest/system.json - download: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}.zip + download: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/foundryvtt-reve-de-dragon-${{github.event.release.tag_name}}.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 ./${{github.event.release.tag_name}}.zip system.json template.json README.md LICENSE.txt assets/ fonts/ icons lang/ module/ packs/ pic/ sounds/ styles/ templates/ + - run: zip -r ./foundryvtt-reve-de-dragon-${{github.event.release.tag_name}}.zip system.json template.json README.md LICENSE.txt assets/ fonts/ icons lang/ module/ packs/ pic/ sounds/ styles/ templates/ - name: setup go uses: actions/setup-go@v3 @@ -47,6 +47,6 @@ jobs: uses: https://gitea.com/actions/release-action@main with: files: |- - ./${{github.event.release.tag_name}}.zip + ./foundryvtt-reve-de-dragon-${{github.event.release.tag_name}}.zip system.json api_key: '${{secrets.ALLOW_PUSH_RELEASE}}'