Skip to content

Commit

Permalink
Bump rdf-toolkit version, and Java to version >= 11
Browse files Browse the repository at this point in the history
This patch incorporates all changes UCO adopted for resolution of its
Issue 373.

References:
ucoProject/UCO#373
Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Jul 30, 2022
1 parent 9c327bb commit 4bafcb2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '8'
distribution: 'temurin'
java-version: '11'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand Down
12 changes: 3 additions & 9 deletions lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,13 @@ all: \
# confirmed before moving file into position. (This practice will
# probably require frequent updates, unless a signed checksum for the
# jar can be retrieved somehow.)
# In case there are concerns on potentially multiple writes to the same
# file, the documentation for wget's "--output-document file" flag notes
# that "... file will be truncated immediately, and all downloaded
# content will be written there."
rdf-toolkit.jar:
test -r rdf-toolkit.jar.sha512
# Try retrieval from Github, then from files.caseontology.org.
rm -f $@_
# Try retrieval from files.caseontology.org.
wget \
--output-document $@_ \
https://github.com/trypuz/openfibo/blob/1f9ab415e8ebd131eadcc9b0fc46241adeeb0384/etc/serialization/rdf-toolkit.jar?raw=true \
|| wget \
--output-document $@_ \
http://files.caseontology.org/rdf-toolkit.jar
https://files.caseontology.org/rdf-toolkit-1.11.0.jar
test \
"x$$(openssl dgst -sha512 $@_ | awk '{print($$NF)}')" \
== \
Expand Down
2 changes: 1 addition & 1 deletion lib/rdf-toolkit.jar.sha512
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24890b4aa484a46803841fbe5938daf60bf2d0889c0e231102c033d71cb84a2bfa8b44419df3ad896d833609afddd4b3910d2ce28660b3350cca22bea0770dad
8131e5515da63f099a89a3ce2c7587fb6b228f1ec7c5eb49ff35710509e8511921bfc847e182ee994e575b1f7895c04ae5bed7e1b7826bb32c9475b43b74dc17

0 comments on commit 4bafcb2

Please sign in to comment.