Comments (4)
This is actually worse than that: java-version: 11
won't actually set JAVA_HOME_11_x64
, but JAVA_HOME_11.0.7_x64
, making that variable essentially useless as its name will actually change whenever a new version of the JDK is released.
As a workaround, I'm using (with a previous call with java-version: 11
and a previous Gradle build with JDK 11: the new build here still runs with JDK 11 so it won't recompile Java sources)
# Workaround for https://github.com/actions/setup-java/issues/65
- name: Backup JAVA_HOME
id: java-home
run: echo "::set-output name=path::$JAVA_HOME"
I could have used a ::set-env
too of course to set JAVA_HOME_11_x64
.
from setup-java.
Nmnbbb
from setup-java.
Bjjk
from setup-java.
Bnnk no nn
Nn
from setup-java.
Related Issues (20)
- Oracle JDK takes significantly longer to set up HOT 9
- Cache integration between `actions/setup-java` and `actions/cache` / `actions/cache/restore` HOT 1
- 401 Unauthorized when run mvn deploy on package contains a maven dependency of GitHub Packages HOT 9
- Using GPG on V4, the gpg importer will always take 3 minutes HOT 4
- setup-java post action caching for v4 is slower than v3 HOT 8
- Pull packages from GitHub private packages, return status: 401 Unauthorized and 'parent.relativePath' points at wrong local POM HOT 7
- Invalid version file after updating to 4.2.0 HOT 14
- Add support for downloading and running JDK builds HOT 2
- Support a server for the dependency-check-plugin HOT 1
- `java-version-file` with `asdf`'s `.tool-versions` fails for Corretto, also non-strict semver versions HOT 5
- Proper way of using a Maven toolchain? HOT 10
- Need to update some @action/cache dependencies HOT 1
- GPG Key import successfully, but "No secret key" when maven deploy HOT 7
- Maven Failed to deploy artifacts: Could not find artifact "self" in github (https://maven.pkg.github.com/ORG/REPO) HOT 6
- `actions/setup-java` is flaky HOT 2
- Cache is reported as found and restored, but artifacts are still being downloaded HOT 4
- Can't install temurin java 8 for macos HOT 6
- java.lang.IllegalAccessError: superclass access check failed with `setup-java@v4` HOT 2
- `setup-java@v4` setup for sbt failing on macOS with `line 1: sbt: command not found` HOT 9
- Azul distribution support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-java.