Skip to content

Commit

Permalink
Merge pull request #398 from ucoProject/Feature-Issue-373-v3
Browse files Browse the repository at this point in the history
Issue 373, v3: Upgrade rdf-toolkit and Java
  • Loading branch information
b0bkaT authored Jun 14, 2022
2 parents fa0b469 + 2fa9ad6 commit 58fb217
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 301 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,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
Loading

0 comments on commit 58fb217

Please sign in to comment.