Skip to content

Commit 85e720f

Browse files
authored
Fix build matrix conditional deployment
1 parent 691aefa commit 85e720f

File tree

1 file changed

+17
-20
lines changed

1 file changed

+17
-20
lines changed

appveyor.yml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,20 @@ artifacts:
1515
- path: artifacts/Serilog.*.nupkg
1616
- path: artifacts/Serilog.*.snupkg
1717

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
18+
deploy:
19+
- provider: NuGet
20+
api_key:
21+
secure: 60gpLnipFCiKLpS7ECI1C6EPJW27KzVwqrBVkEzX6FIMTmsG//HD3p8Oq7WdQPm8
22+
on:
23+
branch: /^(main|dev)$/
24+
image: Visual Studio 2022
25+
- provider: GitHub
26+
auth_token:
27+
secure: p4LpVhBKxGS5WqucHxFQ5c7C8cP74kbNB0Z8k9Oxx/PMaDQ1+ibmoexNqVU5ZlmX
28+
artifacts:
29+
/Serilog.*\.nupkg/
30+
/Serilog.*\.snupkg/
31+
tag: v$(appveyor_build_version)
32+
on:
33+
branch: main
34+
image: Visual Studio 2022

0 commit comments

Comments
 (0)