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

Issue 373, v2: Upgrade rdf-toolkit and Java #395

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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