-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathappveyor.yml
More file actions
36 lines (32 loc) · 1.08 KB
/
appveyor.yml
File metadata and controls
36 lines (32 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: 0.1.{build}.{branch}
branches:
only:
- dev
- release
except:
- gh-pages
- pages
image: Visual Studio 2022
configuration: Release
install:
- ps: |
$installScript = "$env:TEMP\dotnet-install.ps1"
Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -UseBasicParsing -OutFile $installScript
# Install .NET 10 (latest)
& $installScript -Architecture x64 -Channel 10.0 -Version latest -InstallDir "$env:ProgramFiles\dotnet" -Verbose
# Add .NET to PATH for the current session
$env:PATH = "$env:ProgramFiles\dotnet;$env:PATH"
before_build:
- cmd: dotnet --version
build_script:
- cmd: dotnet publish -p:PublishProfile=PublishProfile
artifacts:
- path: '**\bin\Release\RaceElement.exe'
name: Race Element
deploy:
- provider: Webhook
on:
branch: release
url: https://app.signpath.io/API/v1/9bd5dbe6-3047-4e42-9dbb-0bf694ed7e48/Integrations/AppVeyor?ProjectKey=Race-Element&SigningPolicyKey=release-signing
authorization:
secure: H+at4ZC2qvHHDcdgGw+882oDYFv3G7zChPU97QGl5l0WCSoUgCtW34OG7Ky0x1cQ7HWdVJJGP5cHl6+j6z7Z5A==