-
Notifications
You must be signed in to change notification settings - Fork 7
87 lines (76 loc) · 2.22 KB
/
deploy-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: Deploy Release
on:
workflow_call:
inputs:
version-name:
required: true
type: string
release-notes:
required: false
type: string
default: 'TBD'
tag-name:
required: false
type: string
publish-prerelease:
required: false
default: false
type: boolean
jobs:
build-2411:
name: Build guc for USD v24.11
uses: ./.github/workflows/build-usd.yml
with:
usd-version: 24.11
build-config: Release
build-2408:
name: Build guc for USD v24.08
uses: ./.github/workflows/build-usd.yml
with:
usd-version: 24.08
build-config: Release
build-2405:
name: Build guc for USD v24.05
uses: ./.github/workflows/build-usd.yml
with:
usd-version: 24.05
build-config: Release
build-2403:
name: Build guc for USD v24.03
uses: ./.github/workflows/build-usd.yml
with:
usd-version: 24.03
build-config: Release
deploy-release:
name: Deploy Release
needs: [build-2411, build-2408, build-2405, build-2403]
runs-on: ubuntu-latest
steps:
- name: Download USD v24.11 artifacts
uses: actions/download-artifact@v3
with:
name: ${{ needs.build-2411.outputs.archive-name }}
- name: Download USD v24.08 artifacts
uses: actions/download-artifact@v3
with:
name: ${{ needs.build-2408.outputs.archive-name }}
- name: Download USD v24.05 artifacts
uses: actions/download-artifact@v3
with:
name: ${{ needs.build-2405.outputs.archive-name }}
- name: Download USD v24.03 artifacts
uses: actions/download-artifact@v3
with:
name: ${{ needs.build-2403.outputs.archive-name }}
- name: Deploy draft release
uses: softprops/action-gh-release@d4e8205d7e959a9107da6396278b2f1f07af0f9b
with:
name: ${{ inputs.version-name }}
body: ${{ inputs.release-notes }}
files: |
*.tar.gz
fail_on_unmatched_files: true
tag_name: ${{ inputs.tag-name }}
prerelease: ${{ inputs.publish-prerelease }}
draft: ${{ ! inputs.publish-prerelease }}
make_latest: false