-
Notifications
You must be signed in to change notification settings - Fork 797
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
Action fails with "Error: Cache service responded with 400"
Task version:
actions/setup-java@v2
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Repro steps:
Workflow step:
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 17
cache: maven
Expected behavior:
JDK is set up and Maven settings.xml file created
Actual behavior:
Trying to resolve the latest version from remote
Resolved latest version as 17.0.16+8
Trying to download...
Downloading Java 17.0.16+8 (Zulu) from https://cdn.azul.com/zulu/bin/zulu17.60.17-ca-crac-jdk17.0.16-linux_x64.tar.gz ...
Extracting Java archive...
/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/f121cbd2-025a-4a44-939f-4203a093e9f8 -f /home/runner/work/_temp/b22869b4-9e65-4be0-8851-02fe0e9cc8a4
Java 17.0.16+8 was downloaded
Setting Java 17.0.16+8 as the default
Java configuration:
Distribution: zulu
Version: 17.0.16+8
Path: /opt/hostedtoolcache/Java_Zulu_jdk/17.0.16-8/x64
Creating settings.xml with server-id: github
Writing to /home/runner/.m2/settings.xml
Error: Cache service responded with 400
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working