From 59b9fec5c29b773d1533749e10452baf40213b0e Mon Sep 17 00:00:00 2001 From: str1k3r <115313679+S1l3ntStr1ke87@users.noreply.github.com> Date: Tue, 21 Jul 2026 14:54:07 -0400 Subject: [PATCH] fix: workflow --- .gitea/workflows/release.yaml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 68a523c7..b8b81727 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -17,7 +17,6 @@ jobs: runs-on: windows-2022 steps: - name: Validate version format - shell: pwsh run: | if (-not ("${{ inputs.version }}" -match '^v\d+\.\d+\.\d+[a-zA-Z0-9.-]*$')) { Write-Error "Version '${{ inputs.version }}' doesn't match expected format (e.g. v1.0.0)" @@ -51,11 +50,6 @@ jobs: if: matrix.platform == 'Windows64' run: 7z a -r LCE${{ matrix.platform }}.zip ./x64/${{ matrix.configuration }}/* "-x!*.ipdb" "-x!*.iobj" - - name: Stage artifacts - run: | - New-Item -ItemType Directory -Force -Path staging - Copy-Item LCE${{ matrix.platform }}.zip staging/ - - name: Stage artifacts run: | New-Item -ItemType Directory -Force -Path staging @@ -84,7 +78,7 @@ jobs: with: path: downloaded - - name: Read release notes + - name: Fetch release notes id: notes run: | $notesSource = "${{ inputs.notes }}" @@ -97,18 +91,11 @@ jobs: } catch { $body = $fallback } - } else { - if (Test-Path $notesSource) { - $body = Get-Content -Raw -Path $notesSource - if ([string]::IsNullOrWhiteSpace($body)) { $body = $fallback } - } else { - $body = $fallback - } } "description<