Skip to content

Commit e92d55a

Browse files
author
Rene Damm
authored
NEW: Dry-run publishing as part of tests (#1478).
1 parent 030f38b commit e92d55a

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.yamato/upm-ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,17 @@ all_tests:
171171
- .yamato/upm-ci.yml#run_ios_{{ editor.version }}
172172
- .yamato/upm-ci.yml#build_tvos_{{ editor.version }}
173173
{% endfor %}
174+
- .yamato/upm-ci.yml#publish_dryrun
174175
triggers:
175176
cancel_old_ci: true
176177
pull_requests:
177178
- targets:
178179
only:
179180
- "develop"
180181

181-
publish:
182-
name: Publish to Internal Registry
182+
{% for run in (1..2) %}
183+
publish{% cycle "", "_dryrun" %}:
184+
name: Publish to Internal Registry {% cycle "", "(Dry Run)" %}
183185
agent:
184186
type: Unity::VM
185187
image: package-ci/win10:stable
@@ -192,8 +194,9 @@ publish:
192194
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
193195
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
194196
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u 2019.4
195-
- upm-ci package publish --package-path ./Packages/com.unity.inputsystem/
197+
- upm-ci package publish --package-path ./Packages/com.unity.inputsystem/ {% cycle "", "--dry-run" %}
196198
artifacts:
197199
artifacts:
198200
paths:
199201
- "upm-ci~/packages/*.tgz"
202+
{% endfor %}

0 commit comments

Comments
 (0)