CI/CD: 更改了action 中的错误

This commit is contained in:
zerlei 2024-10-18 12:42:03 +08:00
parent 394ee5fe06
commit 20ee8714de

View file

@ -41,13 +41,10 @@ jobs:
run: |
cp Tool/JsScript/* release/JsScript/
Compress-Archive -Path "release/*" -DestinationPath "FS_win_dotnet8.zip" -Force
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
run: |
$version = $env:GITHUB_REF -replace 'refs/tags/', ''
Write-Host "VERSION=$version" >> $env:GITHUB_ENV
with:
- name: Release
uses: softprops/action-gh-release@v2
files: |
FS_win_dotnet8.zip
LICENSE