-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathappveyor.yml
More file actions
44 lines (33 loc) · 1 KB
/
Copy pathappveyor.yml
File metadata and controls
44 lines (33 loc) · 1 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
37
38
39
40
41
42
43
44
version: "{build}"
image: Ubuntu2204
cache:
- /home/appveyor/.local/share/powershell/Modules/
branches:
only:
- main
- /^v\d+\.\d+\.\d+/
skip_branch_with_pr: true
environment:
GITHUB_TOKEN:
secure: +uoFiZQbo1uuQJWgZn3DKizlzMV/Ji9V9YJxCwtUvDRkwklysZSEMJiNgbiBlBS8
PSGALLERY_API_KEY:
secure: TgdRRYLIHZVtK6jOj3DAVgGMY+k7TaW/MF8ESPWF1PlnO2WL1jwVpqVCnQux4DP9
install:
- pwsh: Invoke-Build AppveyorMetadata, AppveyorAbortWhenHeadAlreadyTagged, InstallBuildDependencies
build_script:
- pwsh: Invoke-Build Build, Package
artifacts:
- path: ./Build/**/$(APPVEYOR_PROJECT_NAME).*.nupkg
name: nupkg
test_script:
- pwsh: Invoke-Build Test
deploy:
- provider: GitHub
tag: $(APPVEYOR_REPO_TAG_NAME)
description: $(APPVEYOR_PROJECT_NAME) $(APPVEYOR_REPO_TAG_NAME)
auth_token: $(GITHUB_TOKEN)
artifact: nupkg
on:
APPVEYOR_REPO_TAG: true
after_deploy:
- pwsh: Invoke-Build Publish -PSGalleryApiKey $env:PSGALLERY_API_KEY