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

This commit is contained in:
zerlei 2024-10-18 12:44:05 +08:00
parent 20ee8714de
commit e8bc478035

View file

@ -45,9 +45,11 @@ jobs:
Write-Host "VERSION=$version" >> $env:GITHUB_ENV Write-Host "VERSION=$version" >> $env:GITHUB_ENV
- name: Release - name: Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
files: | if: startsWith(github.ref, 'refs/tags/')
FS_win_dotnet8.zip with:
LICENSE files: |
name: ${{ env.VERSION}} FS_win_dotnet8.zip
draft: false LICENSE
prerelease: true name: ${{ env.VERSION}}
draft: false
prerelease: true