From 84c44d1f6dbc5cc0f84d02f56673197cd02ad221 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Wed, 14 May 2025 22:26:36 +0200 Subject: [PATCH] Fix layaout --- .gitea/workflows/release.yaml | 40 ++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 3b8c59f4..89963156 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -1,6 +1,6 @@ name: Release Creation -on: +on: release: types: [published] @@ -9,9 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - run: echo "💡 The ${{ gitea.repository }} repository will cloned to the runner." - + #- uses: actions/checkout@v3 - uses: RouxAntoine/checkout@v3.5.4 + with: + ref: 'v13' # get part of the tag after the `v` - name: Extract tag version number @@ -29,7 +31,7 @@ jobs: url: https://www.uberwald.me/gitea/${{gitea.repository}} manifest: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/system.json download: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/rddsystem.zip - + - name: Set up Node.js uses: actions/setup-node@v2 with: @@ -37,7 +39,7 @@ jobs: - name: Install dependencies run: npm install - + - name: Build the compendiums run: node ./tools/packCompendiumsToDist.mjs @@ -46,29 +48,29 @@ jobs: apt update -y apt install -y zip - - run: zip -r ./rddsystem.zip system.json template.json README.md LICENSE.txt assets/ fonts/ icons lang/ module/ packs/ pic/ sounds/ styles/ templates/ - + - run: zip -r ./rddsystem.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 with: go-version: '>=1.20.1' - - - name: Use Go Action + + - name: Use Go Action id: use-go-action uses: https://gitea.com/actions/release-action@main with: files: |- - ./rddsystem.zip + ./rddsystem.zip system.json api_key: '${{secrets.ALLOW_PUSH_RELEASE}}' - - name: Publish to Foundry server - uses: djlechuck/foundryvtt-publish-package-action@v1 - with: - token: ${{ secrets.FOUNDRYVTT_RELEASE_TOKEN }} - id: 'foundryvtt-reve-de-dragon' - version: ${{github.event.release.tag_name}} - manifest: 'https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/system.json' - notes: 'https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/branch/v11/changelog.md' - compatibility-minimum: '12' - compatibility-verified: '12' \ No newline at end of file + #- name: Publish to Foundry server + # uses: djlechuck/foundryvtt-publish-package-action@v1 + # with: + # token: ${{ secrets.FOUNDRYVTT_RELEASE_TOKEN }} + # id: 'foundryvtt-reve-de-dragon' + # version: ${{github.event.release.tag_name}} + # manifest: 'https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/system.json' + # notes: 'https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/branch/v13/changelog.md' + # compatibility-minimum: '13' + # compatibility-verified: '13' \ No newline at end of file