Skip to content

Commit 3214310

Browse files
committed
Fix authentication for SPARQL push
1 parent 00a3783 commit 3214310

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/upload-to-triplestore.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
upload:
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/setup-python@v5
26+
- uses: actions/setup-python@v6
2727
with:
2828
python-version: '3.12'
2929
- run: pip install ogc-na
@@ -77,6 +77,7 @@ jobs:
7777
auth_details = None
7878
if 'SPARQL_USERNAME' in os.environ:
7979
auth_details = (os.environ["SPARQL_USERNAME"], os.environ.get("SPARQL_PASSWORD", ""))
80+
print('Using authentication')
8081
8182
for bblock in bblocks:
8283
ontology = bblock.get('ontology')
@@ -93,4 +94,4 @@ jobs:
9394
newg, entail_artifacts = profile_registry.entail(g, profile_uris)
9495
9596
update_vocabs.load_vocab(newg, graph_uri=graph_uri,
96-
graph_store=sparql_endpoint, auth_details=auth_details)
97+
graph_store=sparql_endpoint, auth=auth_details)

0 commit comments

Comments
 (0)