Auto-release script

This commit is contained in:
2026-04-06 18:22:15 +02:00
parent 791ce91da2
commit a2fdd4dbdd

View File

@@ -29,6 +29,15 @@ jobs:
manifest: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/latest/system.json manifest: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/latest/system.json
download: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/fvtt-celestopol-${{github.event.release.tag_name}}.zip download: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/fvtt-celestopol-${{github.event.release.tag_name}}.zip
# Compile le CSS depuis les sources LESS (gitignored)
- name: Setup Node.js
uses: https://github.com/actions/setup-node@v4
with:
node-version: '22'
- name: Build CSS
run: npm install && npm run build
# Crée le zip de release avec tous les fichiers nécessaires au système # Crée le zip de release avec tous les fichiers nécessaires au système
- run: | - run: |
apt update -y apt update -y
@@ -50,13 +59,13 @@ jobs:
system.json system.json
api_key: "${{secrets.ALLOW_PUSH_RELEASE}}" api_key: "${{secrets.ALLOW_PUSH_RELEASE}}"
# - name: Publish to Foundry server - name: Publish to Foundry server
# uses: https://github.com/djlechuck/foundryvtt-publish-package-action@v1 uses: https://github.com/djlechuck/foundryvtt-publish-package-action@v1
# with: with:
## token: ${{ secrets.FOUNDRYVTT_RELEASE_TOKEN }} token: ${{ secrets.FOUNDRYVTT_RELEASE_TOKEN }}
# id: "fvtt-celestopol" id: 'fvtt-celestopol'
## version: ${{github.event.release.tag_name}} version: ${{github.event.release.tag_name}}
# manifest: "https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/latest/system.json" 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-celestopol-${{github.event.release.tag_name}}.zip" notes: 'https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/fvtt-celestopol-${{github.event.release.tag_name}}.zip'
# compatibility-minimum: "13" compatibility-minimum: '13'
# compatibility-verified: "14" compatibility-verified: '13'