-
Notifications
You must be signed in to change notification settings - Fork 16
/
appveyor.yml
34 lines (27 loc) · 1 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
32
33
34
version: .{build}
branches:
only:
- master
image: Visual Studio 2022
init:
- pwsh: Update-AppveyorBuild -Version "$(Get-Date -format yyyy.M.d).$env:appveyor_build_number"
build_script:
- pwsh: dotnet restore src/Logazmic/Logazmic.csproj
- pwsh: dotnet publish src/Logazmic/Logazmic.csproj -c Release -r win-x64
- pwsh: squirrel/build-appveyor.ps1
artifacts:
- path: squirrel/Releases/*
skip_tags: true
deploy:
tag: $(appveyor_build_version)
release: Logazmic - $(appveyor_build_version)
description: $(APPVEYOR_REPO_COMMIT_MESSAGE)
provider: GitHub
auth_token:
secure: ZErE0U1rBowxMBa8bpQgNtwKMR2KdMGz+d8VLOFlZDRM2kl+YLsiQm4yNRZai2AgNPwjcaoXDzzQgeBjC2DCIaUbWGHD4mfnmIwMAj7wXrrdF2vSYA5HMxtEv9Ewd2Dl
on:
branch: master
# for auth_token secure generate GitHub API token with repo and status permissions. details: https://www.appveyor.com/docs/deployment/github/
# generate token at https://github.com/settings/tokens
# then encrypt it's value at https://ci.appveyor.com/tools/encrypt
# use in yaml