Skip to content

Commit 3aed5c5

Browse files
committed
Fix local registry setup in IntegrationTest
1 parent cd8ad19 commit 3aed5c5

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/IntegrationTest.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ on:
1212
description: "Repository name, including the group/user, such as ITensor/ITensors.jl"
1313
required: true
1414
type: string
15-
local-registry-urls:
16-
description: 'Registries besides General to use. Specified by providing the url (https/ssh) to the Github
17-
repositories as a newline (\n) seperated list. Defaults to including the ITensorRegistry
18-
(https://github.com/ITensor/ITensorRegistry.git).'
15+
localregistry:
16+
description: "Add local registries hosted on GitHub. Specified by providing the url (https/ssh) to the repositories as a newline (\n) seperated list. User is responsible for setting up the necessary SSH-Keys to access the repositories if necessary."
1917
default: ""
2018
required: false
2119
type: string
@@ -35,8 +33,9 @@ jobs:
3533
with:
3634
version: ${{ inputs.julia-version }}
3735
arch: x64
38-
localregistry: https://github.com/ITensor/ITensorRegistry.git
3936
- uses: julia-actions/julia-buildpkg@latest
37+
with:
38+
localregistry: "${{ inputs.localregistry }}"
4039
- name: Clone Downstream
4140
uses: actions/checkout@v4
4241
with:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ since it is safe to register the changes without breaking downstream
217217
packages if they follow semver in their compat versions.
218218
Additionally, if some dependent packages being tested are registered in one or more
219219
local registry, you can specify a list of local registries using their
220-
repository URLs using the `local-registy-urls` option,
220+
repository URLs using the `localregisty` option,
221221
which should be a string with registry URLs seperated by a newline character (`\n`).
222222
Here is an example workflow:
223223

@@ -242,6 +242,6 @@ jobs:
242242
- 'ITensor/TensorAlgebra.jl'
243243
uses: "ITensor/ITensorActions/.github/workflows/IntegrationTest.yml@main"
244244
with:
245-
local-registry-urls: "https://github.com/ITensor/ITensorRegistry.git"
245+
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
246246
repo: "${{ matrix.repo }}"
247247
```

0 commit comments

Comments
 (0)