From 450428e7f79a9eb0f32209bce181d8193f24b883 Mon Sep 17 00:00:00 2001 From: Marco Wende Date: Fri, 21 Aug 2026 00:49:46 +0200 Subject: [PATCH] CI: Token-Laengen-Diagnose im Gitea-Upload-Schritt entfernt Co-Authored-By: Claude Opus 4.8 --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1dbd0ab..6d59f24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -119,10 +119,8 @@ jobs: MSI_NAME: ${{ steps.build.outputs.MSI_NAME }} COMMIT_SHA: ${{ github.sha }} run: | - $tokLen = if ([string]::IsNullOrEmpty($env:GITEA_TOKEN)) { 0 } else { $env:GITEA_TOKEN.Length } - Write-Host "Diagnose: GITEA_TOKEN Laenge = $tokLen (0 = Secret erreicht den Lauf nicht)" if ([string]::IsNullOrWhiteSpace($env:GITEA_TOKEN)) { - Write-Host "::warning::GITEA_TOKEN leer (Laenge=$tokLen) — Gitea-Upload uebersprungen. Muss ein REPOSITORY-Secret sein unter Settings > Secrets and variables > Actions (Tab 'Secrets', NICHT 'Variables'), Name exakt GITEA_TOKEN, im Repo mwende/Intune-Manager." + Write-Host "::notice::GITEA_TOKEN nicht gesetzt — Gitea-Upload uebersprungen." exit 0 } $headers = @{ Authorization = "token $env:GITEA_TOKEN" }