Skip to content

Commit

Permalink
Update appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
EX3exp committed Sep 29, 2024
1 parent f80d87e commit a53d314
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
2 changes: 2 additions & 0 deletions Mirivoice.Desktop/Mirivoice.Desktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
<AssemblyName>MiriVoice</AssemblyName>
<RootNamespace>Mirivoice.Desktop</RootNamespace>
<Company>EX3</Company>
</PropertyGroup>

<ItemGroup>
<Content Include="mirivoice-logo.ico" />
</ItemGroup>
Expand Down
25 changes: 18 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ skip_tags: true
image:
- Visual Studio 2022
- macOS
- Ubuntu
- Ubuntu2204
configuration: Release
platform: Any CPU
shallow_clone: true
Expand All @@ -22,12 +22,23 @@ dotnet_csproj:
informational_version: '{version}'
nuget:
project_feed: true
before_build:
- cmd: nuget restore
build:
project: Mirivoice.sln
parallel: true
verbosity: minimal
build_script:
- cmd: >-
|
if "%platform%" == "Windows" (
dotnet publish -c Release -r win-x64 --self-contained -o bin\Release\win-x64
) else if "%platform%" == "macOS" (
dotnet publish -c Release -r osx-x64 --self-contained -o bin\Release\osx-x64
) else if "%platform%" == "Linux" (
dotnet publish -c Release -r linux-x64 --self-contained -o bin\Release\linux-x64
)
artifacts:
- path: bin\Release\win-x64\MiriVoice.zip
name: MiriVoice-win-x64
- path: bin\Release\osx-x64\MiriVoice.zip
name: MiriVoice-macOS
- path: bin\Release\linux-x64\MiriVoice.zip
name: MiriVoice-linux
deploy:
- provider: GitHub
tag: build/$(APPVEYOR_BUILD_VERSION)
Expand Down

0 comments on commit a53d314

Please sign in to comment.