forked from DGP-Studio/Snap.Hutao
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
31 lines (30 loc) · 1.01 KB
/
appveyor.yml
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
version: 1.0.{build}
branches:
only:
- "release"
build_cloud: HUTAO-ACTIONS
image: Visual Studio 2022
cache:
- 'C:\Users\Public\Documents\dotnet_install\.nuget\packages'
clone_depth: 3
clone_folder: C:\Users\Public\appveyor\Snap.Hutao
install:
- pwsh: dotnet tool restore
build_script:
- pwsh: dotnet cake
artifacts:
- path: src/output/*.msix
type: file
deploy:
- provider: Webhook
url: https://app.signpath.io/API/v1/7a941fa3-64d8-4c45-bd03-92a02bcd4964/Integrations/AppVeyor?ProjectSlug=Snap.Hutao&SigningPolicySlug=release-signing&ArtifactConfigurationSlug=msix
authorization:
secure: j8srQ5/UYWhI+jlm3Vo3D3QfXoRyQ9hOn3ynJGtwusKui4+uDi4gykdUFYCITZxK+C/fOCAZNJ+YaKSm/OaiXw==
on_finish:
- pwsh: |
Write-Host "Cleaning up NuGet cache..."
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\NuGet\v3-cache"
Write-Host "NuGet cache cleaned."
Write-Host "Cleaning up .NET install folder..."
Remove-Item -Recurse -Force "C:\Users\Public\Documents\dotnet_install"
Write-Host ".NET install folder cleaned."