New yamato file
MODIFY
.yamato/upm-ci.yml
.yamato/upm-ci.yml
editors:
- - version: 2018.3
+ - version: trunk
platforms:
- name: win
type: Unity::VM
@@ -21,7 +21,7 @@ platforms:
commands:
- npm install upm-ci-utils -g --registry https://api.bintray.com/npm/unity/unity-npm
- upm-ci package pack --package-path package/com.unity.formats.usd
- - upm-ci package test --unity-version {{ editor.version }} --package-path package/com.unity.formats.usd
+ - upm-ci package test --package-path package/com.unity.formats.usd --unity-version {{ editor.version }}
triggers:
branches:
only:
@@ -31,12 +31,7 @@ platforms:
artifacts:
logs.zip:
paths:
- - "upm-ci~/logs/**/*"
- "upm-ci~/test-results/**/*"
- artifacts.zip:
- paths:
- - "upm-ci~/packages/**/*"
- - "upm-ci~/templates/**/*"
{% endfor %}
{% endfor %}
@@ -48,25 +43,21 @@ run_preview_verified_staging:
flavor: m1.large
name: Runner
commands:
- # Install ci tools dependencies
- - git clone --single-branch --branch feat/PAI-434-template-test git@gitlab.cds.internal.unity3d.com:upm-packages/project-templates/upm-template-utils.git
- - npm install upm-template-utils
- - node upm-template-utils/index.js template publish
+ - npm install upm-ci-utils -g --registry https://api.bintray.com/npm/unity/unity-npm
+ - upm-ci package pack
+ - upm-ci package publish --registry staging
triggers:
tags:
only:
- /^(v|V)[0-9].[0-9].[0-9]/
artifacts:
- logs.zip:
- paths:
- - "upm-ci~/logs/**/*"
- - "upm-ci~/test-results/**/*"
- Package.zip:
+ artifacts.zip:
paths:
- - "upm-ci~/package/*.tgz"
+ - "upm-ci~/packages/*.tgz"
dependencies:
{% for editor in editors %}
{% for platform in platforms %}
- .yamato/upm-ci.yml#{{ platform.name }}_{{ editor.version }}
{% endfor %}
{% endfor %}
+

New yamato file