Skip to content

Commit 7331002

Browse files
author
Dmytro Ivanov
committed
Add publish job
1 parent 7f3b301 commit 7331002

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.yamato/promotion.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
publish:
2+
name: Publish to Production
3+
agent:
4+
type: Unity::VM
5+
image: package-ci/win10:stable
6+
flavor: b1.large
7+
commands:
8+
- mv ./Assets/Samples ./Packages/com.unity.inputsystem
9+
- mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem
10+
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
11+
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
12+
- upm-ci package publish --package-path ./Packages/com.unity.inputsystem/
13+
artifacts:
14+
artifacts:
15+
paths:
16+
- "upm-ci~/**/*"
17+
118
promote:
219
name: Promote to Production
320
agent:
@@ -14,7 +31,6 @@ promote:
1431
- mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem
1532
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
1633
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
17-
- upm-ci package publish --package-path ./Packages/com.unity.inputsystem/
1834
- upm-ci package promote --package-path ./Packages/com.unity.inputsystem/ --dry-run
1935
artifacts:
2036
artifacts:

0 commit comments

Comments
 (0)