From 2734d375c244fa6b8ef8925cf3d2982751168f4e Mon Sep 17 00:00:00 2001 From: Gitea Actions Date: Thu, 9 Oct 2025 17:30:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3job=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/gui-version-release.yml | 35 ++++++------------------ 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.gitea/workflows/gui-version-release.yml b/.gitea/workflows/gui-version-release.yml index ae86acc..699f4e5 100644 --- a/.gitea/workflows/gui-version-release.yml +++ b/.gitea/workflows/gui-version-release.yml @@ -156,30 +156,13 @@ jobs: if: always() shell: powershell run: | - $summaryFile = $env:GITHUB_STEP_SUMMARY - if ($summaryFile) { - "## GUI Version Release Summary" | Out-File -FilePath $summaryFile -Append -Encoding UTF8 - "" | Out-File -FilePath $summaryFile -Append -Encoding UTF8 - - if ("${{ job.status }}" -eq "success") { - "**Status**: Version release succeeded" | Out-File -FilePath $summaryFile -Append -Encoding UTF8 - } else { - "**Status**: Version release failed" | Out-File -FilePath $summaryFile -Append -Encoding UTF8 - } - - "**Author**: ${{ github.actor }}" | Out-File -FilePath $summaryFile -Append -Encoding UTF8 - "**Branch**: ${{ github.ref_name }}" | Out-File -FilePath $summaryFile -Append -Encoding UTF8 - "**Time**: $(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')" | Out-File -FilePath $summaryFile -Append -Encoding UTF8 - "**Commit**: ${{ github.sha }}" | Out-File -FilePath $summaryFile -Append -Encoding UTF8 - } else { - Write-Host "==========================================" - Write-Host "GUI Version Release Summary" - Write-Host "==========================================" - Write-Host "Author: ${{ github.actor }}" - Write-Host "Branch: ${{ github.ref_name }}" - Write-Host "Time: $(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')" - Write-Host "Commit: ${{ github.sha }}" - Write-Host "Status: ${{ job.status }}" - Write-Host "==========================================" - } + Write-Host "==========================================" + Write-Host "GUI Version Release Summary" + Write-Host "==========================================" + Write-Host "Author: ${{ github.actor }}" + Write-Host "Branch: ${{ github.ref_name }}" + Write-Host "Version: $env:VERSION" + Write-Host "Time: $(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')" + Write-Host "Commit: ${{ github.sha }}" + Write-Host "=========================================="