Skip to content

Commit 536b072

Browse files
authored
Merge pull request #323 from nblumhardt/publish-one-build-only
Publish only from the one build configuration
2 parents c272e52 + f74cfb6 commit 536b072

File tree

1 file changed

+27
-24
lines changed

1 file changed

+27
-24
lines changed

appveyor.yml

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,37 @@
11
version: '{build}'
2+
23
skip_tags: true
4+
35
image:
46
- Visual Studio 2022
57
- Ubuntu
6-
configuration: Release
8+
79
build_script:
8-
- ps: ./Build.ps1
9-
for:
10-
-
11-
matrix:
12-
only:
13-
- image: Ubuntu
14-
build_script:
15-
- pwsh ./Build.ps1
10+
- pwsh: ./Build.ps1
11+
1612
test: off
13+
1714
artifacts:
1815
- path: artifacts/Serilog.*.nupkg
1916
- path: artifacts/Serilog.*.snupkg
20-
deploy:
21-
- provider: NuGet
22-
api_key:
23-
secure: 6WetFj2k7TEactDaHhg0m0q/WpCldFAUtgAjN8VK9Qn2fsY1vdufRB8XIKnPX9zn
24-
on:
25-
branch: /^(main|dev)$/
26-
- provider: GitHub
27-
auth_token:
28-
secure: p4LpVhBKxGS5WqucHxFQ5c7C8cP74kbNB0Z8k9Oxx/PMaDQ1+ibmoexNqVU5ZlmX
29-
artifacts:
30-
/Serilog.*\.nupkg/
31-
/Serilog.*\.snupkg/
32-
tag: v$(appveyor_build_version)
33-
on:
34-
branch: main
17+
18+
for:
19+
-
20+
matrix:
21+
only:
22+
- image: Visual Studio
23+
deploy:
24+
- provider: NuGet
25+
api_key:
26+
secure: 60gpLnipFCiKLpS7ECI1C6EPJW27KzVwqrBVkEzX6FIMTmsG//HD3p8Oq7WdQPm8
27+
on:
28+
branch: /^(main|dev)$/
29+
- provider: GitHub
30+
auth_token:
31+
secure: p4LpVhBKxGS5WqucHxFQ5c7C8cP74kbNB0Z8k9Oxx/PMaDQ1+ibmoexNqVU5ZlmX
32+
artifacts:
33+
/Serilog.*\.nupkg/
34+
/Serilog.*\.snupkg/
35+
tag: v$(appveyor_build_version)
36+
on:
37+
branch: main

0 commit comments

Comments
 (0)