Skip to content
Merged
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
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,20 @@ jobs:
run: dotnet build -c Release graph/test/csharp/ground-truth/AxiomCsOracle

# `--library auto` decompiles a dependency that ships no sources jar; the Java query case for it needs Vineflower
# The plugin is named by its coordinates, not by the `dependency:` prefix: the prefix is
# looked up in Maven Central's plugin-group metadata, and when that read fails Maven says
# "No plugin found for prefix 'dependency'" though nothing is wrong with the build.
# A failed download is tried twice more before the job gives up.
- name: fetch the decompiler `--library auto` uses for Java class jars
if: matrix.lang == 'java'
run: mvn -q dependency:get -Dartifact=org.vineflower:vineflower:1.10.1
run: |
for attempt in 1 2 3; do
mvn -q org.apache.maven.plugins:maven-dependency-plugin:3.11.0:get \
-Dartifact=org.vineflower:vineflower:1.10.1 && exit 0
echo "::warning::fetching Vineflower failed (attempt $attempt of 3)"
[ "$attempt" -lt 3 ] && sleep $((attempt * 15))
done
exit 1

# `--library auto` compiles a NuGet package by decompiling it; the query case for it needs the decompiler
- name: install the decompiler `--library auto` uses for NuGet packages
Expand Down
Loading