From 659638f6a650b46c653bc40f78b61218074fb88f Mon Sep 17 00:00:00 2001 From: Michael Otto Date: Tue, 17 Mar 2026 11:11:53 +0100 Subject: [PATCH] gitea actions ng10 --- .gitea/workflows/release.yaml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 26117cb..a845e81 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -25,7 +25,7 @@ jobs: - name: Abhängigkeiten installieren shell: sh run: | - apk add --no-cache bash jq git + apk add --no-cache bash jq git rsync zip - name: Daten zusammenstellen id: daten @@ -59,12 +59,28 @@ jobs: git checkout "$CHANNEL" cd .. - ls -la - ls -la repo - ls -la plugin env: CHANNEL: ${{ steps.daten.outputs.channel }} GIT_REPO_URL: ${{ steps.daten.outputs.git_repo_url }} GIT_PLUGIN_URL: ${{ steps.daten.outputs.git_plugin_url }} RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} + - name: ZIP-Datei erstellen + id: zip + run: | + mkdir -p zip + + rsync -a \ + --exclude='.git' \ + --exclude='.gitea' \ + --exclude='.plugin' \ + --exclude='dist' \ + --exclude='plugin.cfg' \ + --exclude='*/__pycache__/*' \ + ./plugin/ ./zip/${ZIP_FOLDER}/ + + ls -la zip/${ZIP_FOLDER}/ + + env: + ZIP_FOLDER: ${{ steps.daten.outputs.zip_folder }} + ZIP_FILE: ${{ steps.daten.outputs.zip_folder }}.zip \ No newline at end of file