Disable installer build on release

This commit is contained in:
Genteure 2021-07-19 21:22:58 +08:00
parent e9c323778d
commit 2af5b40429
2 changed files with 0 additions and 11 deletions

View File

@ -67,15 +67,6 @@ jobs:
asset_path: BililiveRecorder.WPF/bin/${{ matrix.build_configuration }}/BililiveRecorder-WPF-Portable.zip
asset_name: BililiveRecorder-WPF-Portable.zip
asset_content_type: application/zip
- name: Upload Installer
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: BililiveRecorder.WPF\bin\SquirrelReleases\Setup.exe
asset_name: BililiveRecorder-WPF-Setup.exe
asset_content_type: application/vnd.microsoft.portable-executable
release_cli:
needs: test

View File

@ -381,9 +381,7 @@
</GetAssemblyIdentity>
<PropertyGroup>
<NupkgReleaseDir>bin\NupkgReleases\</NupkgReleaseDir>
<SquirrelReleaseDir>bin\SquirrelReleases\</SquirrelReleaseDir>
</PropertyGroup>
<Exec Command="$(PkgNuGet_CommandLine)\tools\NuGet pack BililiveRecorder.nuspec -Version %(myAssemblyInfo.Version) -Properties Configuration=Release -OutputDirectory $(NupkgReleaseDir) -BasePath $(OutDir) -NonInteractive -ForceEnglishOutput" />
<Exec Command="$(SquirrelToolsPath)\squirrel --releasify $(NupkgReleaseDir)\BililiveRecorder.$([System.Version]::Parse(%(myAssemblyInfo.Version)).ToString(3)).nupkg --releaseDir=$(SquirrelReleaseDir) --framework-version net472 --no-msi" />
</Target>
</Project>