-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put into in one pipeline to publish packages to github release
- Loading branch information
Showing
4 changed files
with
26 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
platforms: | ||
- name: win | ||
- name: mac | ||
--- | ||
publish_github_release: | ||
name: Publish Github Release | ||
agent: | ||
type: Unity::VM | ||
image: package-ci/win10:stable | ||
flavor: m1.large | ||
commands: | ||
- npm install github-release-cli -g | ||
- github-release upload -o "Unity-Technologies" -r "UnityRenderStreaming" -t "%GIT_TAG%" -n "%GIT_TAG%" "upm-ci~/packages/com.unity.webrtc-%GIT_TAG%.tgz" | ||
- github-release upload -o "Unity-Technologies" -r "UnityRenderStreaming" -t "%GIT_TAG%" -n "%GIT_TAG%" "upm-ci~/packages/com.unity.template.renderstreaming-%GIT_TAG%.tgz" | ||
- github-release upload -o "Unity-Technologies" -r "UnityRenderStreaming" -t "%GIT_TAG%" -n "%GIT_TAG%" "Assets/bin~/webserver" | ||
- github-release upload -o "Unity-Technologies" -r "UnityRenderStreaming" -t "%GIT_TAG%" -n "%GIT_TAG%" "Assets/bin~/webserver.exe" | ||
triggers: | ||
tags: | ||
only: | ||
- /^(v|V)?\d+\.\d+\.\d+(-preview(\.\d+)?)?$/ | ||
dependencies: | ||
- .yamato/upm-ci-webrtc.yml#pack | ||
- .yamato/upm-ci-template.yml#pack | ||
{% for platform in platforms %} | ||
- .yamato/upm-ci-webapp.yml#pack_{{ platform.name }} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters