-
Notifications
You must be signed in to change notification settings - Fork 0
184 lines (180 loc) · 5.31 KB
/
update-vendors.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
# This is a basic workflow to help you get started with Actions
name: Maven Repo CLone
# Controls when the action will run.
on:
push:
schedule:
- cron: "0 7,19 * * *" # This is in UTC time which makes the actual run 1AM and 1PM CST
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
ARTIFACT_DIR: "./maven-repo"
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
download-maplesim:
name: Download MapleSim
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Download MapleSim
uses: ./.github/actions/download-git
with:
repository: Shenzhen-Robotics-Alliance/maple-sim
ref: gh-pages
deps_path: vendordep/repos/releases
artifact_directory: ${{ env.ARTIFACT_DIR }}
artifact_key: maplesim
download-pathplanner:
name: Download PathPlanner
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Download PathPlanner
uses: ./.github/actions/download-git
with:
repository: 3015RangerRobotics/3015RangerRobotics.github.io
ref: main
deps_path: pathplannerlib/repo
artifact_directory: ${{ env.ARTIFACT_DIR }}
artifact_key: pathplanner
download-choreo:
name: Download Choreo
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Download PathPlanner
uses: ./.github/actions/download-git
with:
repository: SleipnirGroup/ChoreoLib
ref: main
deps_path: dep
artifact_directory: ${{ env.ARTIFACT_DIR }}
artifact_key: choreo
download-redux:
name: Download ReduxLib
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Download ReduxLib
uses: ./.github/actions/download-maven
with:
dep_uuid: 151ecca8-670b-4026-8160-cdd2679ef2bd
artifact_directory: ${{ env.ARTIFACT_DIR }}
artifact_key: redux
download-photon:
name: Download PhotonLib
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Download PhotonLib
uses: ./.github/actions/download-maven
with:
dep_uuid: 515fe07e-bfc6-11fa-b3de-0242ac130004
artifact_directory: ${{ env.ARTIFACT_DIR }}
artifact_key: photon
download-rev:
name: Download REV
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Download REV
uses: ./.github/actions/download-maven
with:
dep_uuid: 3f48eb8c-50fe-43a6-9cb7-44c86353c4cb
artifact_directory: ${{ env.ARTIFACT_DIR }}
artifact_key: rev
download-studica:
name: Download Studica
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Download Studica
uses: ./.github/actions/download-maven
with:
dep_uuid: cb311d09-36e9-4143-a032-55bb2b94443b
artifact_directory: ${{ env.ARTIFACT_DIR }}
artifact_key: studica
download-ctre:
name: Download CTRE
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Download CTRE
uses: ./.github/actions/download-maven
with:
dep_uuid: e995de00-2c64-4df5-8831-c1441420ff19
artifact_directory: ${{ env.ARTIFACT_DIR }}
artifact_key: ctre
publish-pages:
name: Upload to Github Pages
runs-on: ubuntu-latest
needs:
- download-maplesim
- download-pathplanner
- download-choreo
- download-redux
- download-photon
- download-rev
- download-studica
- download-ctre
if: success() && github.ref_name == github.event.repository.default_branch
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
steps:
- uses: actions/download-artifact@v4
with:
name: maplesim
path: ${{ env.ARTIFACT_DIR }}
- uses: actions/download-artifact@v4
with:
name: pathplanner
path: ${{ env.ARTIFACT_DIR }}
- uses: actions/download-artifact@v4
with:
name: choreo
path: ${{ env.ARTIFACT_DIR }}
- uses: actions/download-artifact@v4
with:
name: redux
path: ${{ env.ARTIFACT_DIR }}
- uses: actions/download-artifact@v4
with:
name: photon
path: ${{ env.ARTIFACT_DIR }}
- uses: actions/download-artifact@v4
with:
name: rev
path: ${{ env.ARTIFACT_DIR }}
- uses: actions/download-artifact@v4
with:
name: studica
path: ${{ env.ARTIFACT_DIR }}
- uses: actions/download-artifact@v4
with:
name: ctre
path: ${{ env.ARTIFACT_DIR }}
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ${{ env.ARTIFACT_DIR }}
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v4