Skip to content

Commit

Permalink
Use sysreqs0 tag for system deps
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Mar 26, 2024
1 parent ab4e28e commit d3c5ef7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions setup-r/lib/installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,11 +590,11 @@ function acquireRtools(version) {
function acquireQpdfWindows() {
return __awaiter(this, void 0, void 0, function* () {
yield core.group("Downloading and installing Ghostscript, qpdf", () => __awaiter(this, void 0, void 0, function* () {
let dlpath = yield tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs/autohotkey.portable.nupkg");
let dlpath = yield tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs0/autohotkey.portable.nupkg");
yield io.mv(dlpath, path.join(tempDirectory, "autohotkey.portable.nupkg"));
dlpath = yield tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs/Ghostscipt.app.nupkg");
dlpath = yield tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs0/Ghostscipt.app.nupkg");
yield io.mv(dlpath, path.join(tempDirectory, "Ghostscipt.app.nupkg"));
dlpath = yield tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs/qpdf.nupkg");
dlpath = yield tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs0/qpdf.nupkg");
yield io.mv(dlpath, path.join(tempDirectory, "qpdf.nupkg"));
yield exec.exec("choco", ["install", "autohotkey.portable", "--source", tempDirectory]);
yield exec.exec("choco", ["install", "Ghostscript.app", "qpdf", "--source", tempDirectory]);
Expand Down
6 changes: 3 additions & 3 deletions setup-r/src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,11 +563,11 @@ async function acquireRtools(version: IRVersion) {

async function acquireQpdfWindows() {
await core.group("Downloading and installing Ghostscript, qpdf", async() => {
let dlpath = await tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs/autohotkey.portable.nupkg");
let dlpath = await tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs0/autohotkey.portable.nupkg");
await io.mv(dlpath, path.join(tempDirectory, "autohotkey.portable.nupkg"));
dlpath = await tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs/Ghostscipt.app.nupkg");
dlpath = await tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs0/Ghostscipt.app.nupkg");
await io.mv(dlpath, path.join(tempDirectory, "Ghostscipt.app.nupkg"));
dlpath = await tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs/qpdf.nupkg");
dlpath = await tc.downloadTool("https://github.com/r-lib/actions/releases/download/sysreqs0/qpdf.nupkg");
await io.mv(dlpath, path.join(tempDirectory, "qpdf.nupkg"));
await exec.exec(
"choco",
Expand Down

1 comment on commit d3c5ef7

@maelle
Copy link
Contributor

@maelle maelle commented on d3c5ef7 Mar 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 🙏

Please sign in to comment.