Fallback für ZIP_FOLDER hinzugefügt: Wenn leer, auf sn_basis setzen

This commit is contained in:
Michael Otto
2026-03-13 11:27:18 +01:00
parent b6b791e5bd
commit 04bdfbe9d8

View File

@@ -142,6 +142,10 @@ jobs:
cd repo cd repo
echo "Starte ZIP-Erstellung" echo "Starte ZIP-Erstellung"
ZIP_FOLDER="${{ steps.info.outputs.zip_folder }}" ZIP_FOLDER="${{ steps.info.outputs.zip_folder }}"
if [ -z "$ZIP_FOLDER" ]; then
echo "ZIP_FOLDER is empty, setting to sn_basis"
ZIP_FOLDER="sn_basis"
fi
ZIP_FILE="${ZIP_FOLDER}.zip" ZIP_FILE="${ZIP_FOLDER}.zip"
VERSION="${{ steps.releaseinfo.outputs.version }}" VERSION="${{ steps.releaseinfo.outputs.version }}"
REPO_NAME="${GITHUB_REPOSITORY##*/}" REPO_NAME="${GITHUB_REPOSITORY##*/}"