Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override repositories used by pak #6

Merged
merged 6 commits into from
Sep 12, 2024
Merged

Conversation

walkowif
Copy link
Contributor

@walkowif walkowif commented Sep 12, 2024

Without overriding these repositories, we have the following output of the second Show lockfile step of setup-r-dependencies (cli shown as an example) (example job):

"metadata": {
  "RemoteType": "standard",

  "RemotePkgRef": "cli",
  "RemoteRef": "cli",
  "RemoteRepos": "https://cloud.r-project.org/",
  "RemotePkgPlatform": "source",
  "RemoteSha": "3.6.3"
},
"sources": ["https://cloud.r-project.org/src/contrib/cli_3.6.3.tar.gz", "https://cloud.r-project.org/src/contrib/Archive/cli/cli_3.6.3.tar.gz"],
"target": "src/contrib/cli_3.6.3.tar.gz",
"platform": "source",

When we override the repositories using the method from this PR, we have the following output of the second Show lockfile step of setup-r-dependencies (cli shown as an example) (example job):

"metadata": {
    "RemoteType": "standard",
    "RemotePkgRef": "cli",
    "RemoteRef": "cli",
    "RemoteRepos": "https://packagemanager.posit.co/cran/__linux__/jammy/latest",
    "RemotePkgPlatform": "x86_64-pc-linux-gnu-ubuntu-22.04",
    "RemoteSha": "3.6.3"
  },
"sources": ["https://packagemanager.posit.co/cran/__linux__/jammy/latest/src/contrib/cli_3.6.3.tar.gz"],
"target": "src/contrib/x86_64-pc-linux-gnu-ubuntu-22.04/4.4/cli_3.6.3.tar.gz",
"platform": "x86_64-pc-linux-gnu-ubuntu-22.04",

action.yaml Outdated Show resolved Hide resolved
@walkowif walkowif merged commit e7ed179 into main Sep 12, 2024
3 checks passed
@walkowif walkowif deleted the set-custom-repositories branch September 12, 2024 14:21
@github-actions github-actions bot locked and limited conversation to collaborators Sep 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants