Comments (3)
Hello @codecholeric. If I understood well you want to see result from core.setOutput
for setup-java step. For this you can use this snippet:
- uses: actions/setup-java@v1
id: setupJava
with:
java-version: 8.x
- run: echo "${{ toJson(steps.setupJava.outputs) }}"
shell: bash
About the issue with two env variables for JAVA_HOME
we're planing to remove variant with dots for setup-java@v2:
Lines 75 to 80 in 61c9e3a
from setup-java.
@dmitry-shibanov thanks for the info 😃 I see that the output path works as expected now! (I don't know why it hasn't when I opened the issue, because I printed steps.setupJava and nothing showed, when I run the same action now, I see
steps.setupJava:\ {
outputs: {
path: /opt/hostedtoolcache/jdk/9.0.7/x64,
version: 9.0.7
},
outcome: success,
conclusion: success
}
So exactly as I would expect 😄 That means I can probably simplify this beauty here now 😂 https://github.com/TNG/ArchUnit/blob/master/.github/workflows/build.yml#L57
from setup-java.
Gonna close this issue then. I think it's great to drop the env vars with dots 👍
from setup-java.
Related Issues (20)
- 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
- GPG-Signing of maven artifacts fails on Windows runners with `actions/setup-java@v4` and `maven-gpg-plugin` `v3.2.4` HOT 4
- setup java: Would be nice if there was an option to set the locale via ability to pass system properties to jdk launched
- Support env setting of AGENT_TOOLSDIRECTORY as in the setup-python action HOT 1
- [email protected] redownloading jdk on every run HOT 10
- Gradle caching post-task consistently fails on Windows with "device or resource busy" HOT 3
- Allow differentiating Zulu releases with/without CRaC HOT 2
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.