Skip to content

Commit 4d44dbc

Browse files
committed
[skip ci] fix job dependencies
1 parent 7f94031 commit 4d44dbc

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.yamato/upm-ci-publish-github-release.yml

+5-16
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,6 @@ packages:
88
- name: renderstreaming
99
---
1010

11-
publish_github_release:
12-
name: Trigger publish Webapp and templates to Github Release
13-
triggers:
14-
cancel_old_ci: true
15-
tags:
16-
only:
17-
- /^(v|V)?\d+\.\d+\.\d+(-preview(\.\d+)?)?$/
18-
dependencies:
19-
- .yamato/upm-ci-publish-github-release.yml#publish_github_release_webapp
20-
{% for project in template_projects %}
21-
- .yamato/upm-ci-publish-github-release.yml#publish_github_release_template_{{ project.name }}
22-
{% endfor %}
23-
2411
publish_github_release_webapp:
2512
name: Publish Webapp to Github Release
2613
agent:
@@ -43,8 +30,9 @@ publish_github_release_webapp:
4330
{% endfor %}
4431

4532
{% for project in template_projects %}
46-
publish_github_release_template_{{ project.name }}:
47-
name: Publish Template to Github Release {{ project.name }}
33+
{% for editor in editors %}
34+
publish_github_release_template_{{ project.name }}_{{ editor.version }}:
35+
name: Publish Template to Github Release {{ project.name }} {{ editor.version }}
4836
agent:
4937
type: Unity::VM
5038
image: package-ci/ubuntu:stable
@@ -58,5 +46,6 @@ publish_github_release_template_{{ project.name }}:
5846
- sudo apt install gh
5947
- gh release upload $GIT_TAG 'upm-ci~/packages/{{ project.packagename }}-%GIT_TAG%.tgz' --clobber -R Unity-Technologies/UnityRenderStreaming
6048
dependencies:
61-
- .yamato/upm-ci-template.yml#pack_{{ project.name }}
49+
- .yamato/upm-ci-template.yml#pack_{{ project.name }}_{{ editor.version }}
50+
{% endfor %}
6251
{% endfor %}

0 commit comments

Comments
 (0)