Skip to content

Commit cb50fa8

Browse files
committed
Fix artifact url
1 parent d8f056e commit cb50fa8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

dev/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ <h1>
189189
the latest dev build first as it may already be fixed.
190190
</p>
191191
<p class="warning">Dev builds may be unstable or contain incomplete features.</p>
192-
<a class="btn" href="https://nightly.link/ValveResourceFormat/ValveResourceFormat/workflows/build/master/Source2Viewer.exe.zip">
192+
<a class="btn" href="https://nightly.link/ValveResourceFormat/ValveResourceFormat/workflows/build/master/Source2Viewer.zip">
193193
<svg
194194
width="24"
195195
height="24"
@@ -226,6 +226,8 @@ <h1>
226226
buildLink.href = run.html_url;
227227
buildLink.textContent = `Build #${run.run_number} \u2014 ${formatter.format(date)}`;
228228
document.getElementById('js-build-title').textContent = run.display_title;
229+
const btn = document.querySelector('.btn');
230+
btn.href = btn.href.replace('/workflows/build/master/', `/actions/runs/${run.id}/`);
229231
})
230232
.catch((e) => {
231233
document.getElementById('js-build-title').textContent = e.message;

0 commit comments

Comments
 (0)