Skip to content

Commit d00814f

Browse files
authored
fix(ci): add github token to artifact download (#1003)
1 parent 0b936ba commit d00814f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/pages.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,156 +34,182 @@ jobs:
3434
with:
3535
name: reuse-manifest
3636
path: _site/reuse_bom.txt
37+
github-token: ${{ secrets.GITHUB_TOKEN }}
3738
run-id: ${{ github.event.workflow_run.id }}
3839
- name: Download resolved spec
3940
uses: actions/download-artifact@v5
4041
with:
4142
name: resolved-spec
4243
path: _site/resolved_spec
44+
github-token: ${{ secrets.GITHUB_TOKEN }}
4345
run-id: ${{ github.event.workflow_run.id }}
4446
- name: Download UDB API Docs
4547
uses: actions/download-artifact@v5
4648
with:
4749
name: udb-api
4850
path: _site/htmls/udb_api_doc
51+
github-token: ${{ secrets.GITHUB_TOKEN }}
4952
run-id: ${{ github.event.workflow_run.id }}
5053
- name: Download ISA Explorer CSR
5154
uses: actions/download-artifact@v5
5255
with:
5356
name: isa_explorer-csr
5457
path: _site/isa_explorer
58+
github-token: ${{ secrets.GITHUB_TOKEN }}
5559
run-id: ${{ github.event.workflow_run.id }}
5660
- name: Download ISA Explorer Extension
5761
uses: actions/download-artifact@v5
5862
with:
5963
name: isa_explorer-ext
6064
path: _site/isa_explorer
65+
github-token: ${{ secrets.GITHUB_TOKEN }}
6166
run-id: ${{ github.event.workflow_run.id }}
6267
- name: Download ISA Explorer Inst
6368
uses: actions/download-artifact@v5
6469
with:
6570
name: isa_explorer-inst
6671
path: _site/isa_explorer
72+
github-token: ${{ secrets.GITHUB_TOKEN }}
6773
run-id: ${{ github.event.workflow_run.id }}
6874
- name: Download ISA Explorer Spreadsheet
6975
uses: actions/download-artifact@v5
7076
with:
7177
name: isa_explorer-spreadsheet
7278
path: _site/isa_explorer
79+
github-token: ${{ secrets.GITHUB_TOKEN }}
7380
run-id: ${{ github.event.workflow_run.id }}
7481
- name: Download HTML ISA Manual
7582
uses: actions/download-artifact@v5
7683
with:
7784
name: isa-html-manual
7885
path: _site/manual
86+
github-token: ${{ secrets.GITHUB_TOKEN }}
7987
run-id: ${{ github.event.workflow_run.id }}
8088
- name: Download HTML ISA Manual
8189
uses: actions/download-artifact@v5
8290
with:
8391
name: cfg-html-manual
8492
path: _site/example_cfg
93+
github-token: ${{ secrets.GITHUB_TOKEN }}
8594
run-id: ${{ github.event.workflow_run.id }}
8695
- name: Download Instruction Appendix
8796
uses: actions/download-artifact@v5
8897
with:
8998
name: inst-appendix
9099
path: _site/pdfs
100+
github-token: ${{ secrets.GITHUB_TOKEN }}
91101
run-id: ${{ github.event.workflow_run.id }}
92102
- name: Download RVI20
93103
uses: actions/download-artifact@v5
94104
with:
95105
name: rvi20
96106
path: _site/pdfs
107+
github-token: ${{ secrets.GITHUB_TOKEN }}
97108
run-id: ${{ github.event.workflow_run.id }}
98109
- name: Download RVA20
99110
uses: actions/download-artifact@v5
100111
with:
101112
name: rva20
102113
path: _site/pdfs
114+
github-token: ${{ secrets.GITHUB_TOKEN }}
103115
run-id: ${{ github.event.workflow_run.id }}
104116
- name: Download RVA22
105117
uses: actions/download-artifact@v5
106118
with:
107119
name: rva22
108120
path: _site/pdfs
121+
github-token: ${{ secrets.GITHUB_TOKEN }}
109122
run-id: ${{ github.event.workflow_run.id }}
110123
- name: Download RVA23
111124
uses: actions/download-artifact@v5
112125
with:
113126
name: rva23
114127
path: _site/pdfs
128+
github-token: ${{ secrets.GITHUB_TOKEN }}
115129
run-id: ${{ github.event.workflow_run.id }}
116130
- name: Download RVB23
117131
uses: actions/download-artifact@v5
118132
with:
119133
name: rvb23
120134
path: _site/pdfs
135+
github-token: ${{ secrets.GITHUB_TOKEN }}
121136
run-id: ${{ github.event.workflow_run.id }}
122137
- name: Download AC100
123138
uses: actions/download-artifact@v5
124139
with:
125140
name: ac100-crd
126141
path: _site/pdfs
142+
github-token: ${{ secrets.GITHUB_TOKEN }}
127143
run-id: ${{ github.event.workflow_run.id }}
128144
- name: Download AC200
129145
uses: actions/download-artifact@v5
130146
with:
131147
name: ac200-crd
132148
path: _site/pdfs
149+
github-token: ${{ secrets.GITHUB_TOKEN }}
133150
run-id: ${{ github.event.workflow_run.id }}
134151
- name: Download MC100-32
135152
uses: actions/download-artifact@v5
136153
with:
137154
name: mc100-32-crd
138155
path: _site/pdfs
156+
github-token: ${{ secrets.GITHUB_TOKEN }}
139157
run-id: ${{ github.event.workflow_run.id }}
140158
- name: Download MC100-64
141159
uses: actions/download-artifact@v5
142160
with:
143161
name: mc100-64-crd
144162
path: _site/pdfs
163+
github-token: ${{ secrets.GITHUB_TOKEN }}
145164
run-id: ${{ github.event.workflow_run.id }}
146165
- name: Download MC200-32
147166
uses: actions/download-artifact@v5
148167
with:
149168
name: mc200-32-crd
150169
path: _site/pdfs
170+
github-token: ${{ secrets.GITHUB_TOKEN }}
151171
run-id: ${{ github.event.workflow_run.id }}
152172
- name: Download MC200-64
153173
uses: actions/download-artifact@v5
154174
with:
155175
name: mc200-64-crd
156176
path: _site/pdfs
177+
github-token: ${{ secrets.GITHUB_TOKEN }}
157178
run-id: ${{ github.event.workflow_run.id }}
158179
- name: Download MC300-32
159180
uses: actions/download-artifact@v5
160181
with:
161182
name: mc300-32-crd
162183
path: _site/pdfs
184+
github-token: ${{ secrets.GITHUB_TOKEN }}
163185
run-id: ${{ github.event.workflow_run.id }}
164186
- name: Download MC300-64
165187
uses: actions/download-artifact@v5
166188
with:
167189
name: mc300-64-crd
168190
path: _site/pdfs
191+
github-token: ${{ secrets.GITHUB_TOKEN }}
169192
run-id: ${{ github.event.workflow_run.id }}
170193
- name: Download RVI20-32 CTP
171194
uses: actions/download-artifact@v5
172195
with:
173196
name: rvi20-32-ctp
174197
path: _site/pdfs
198+
github-token: ${{ secrets.GITHUB_TOKEN }}
175199
run-id: ${{ github.event.workflow_run.id }}
176200
- name: Download RVI20-64 CTP
177201
uses: actions/download-artifact@v5
178202
with:
179203
name: rvi20-64-ctp
180204
path: _site/pdfs
205+
github-token: ${{ secrets.GITHUB_TOKEN }}
181206
run-id: ${{ github.event.workflow_run.id }}
182207
- name: Download MC100-32 CTP
183208
uses: actions/download-artifact@v5
184209
with:
185210
name: mc100-32-ctp
186211
path: _site/pdfs
212+
github-token: ${{ secrets.GITHUB_TOKEN }}
187213
run-id: ${{ github.event.workflow_run.id }}
188214
- name: Create index
189215
env:

0 commit comments

Comments
 (0)