Update advanced-usage.md

change to be consistent with https://github.com/actions/setup-java#usage
This commit is contained in:
Benoit 2022-12-24 15:25:37 +01:00 committed by GitHub
parent d401f0c450
commit 751c11a6d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ steps:
with: with:
distribution: '<distribution>' distribution: '<distribution>'
java-version: '11' java-version: '11'
architecture: x86 # optional - defaults to x64 architecture: x86 # optional - default value derived from the runner machine
- run: java -cp java HelloWorldApp - run: java -cp java HelloWorldApp
``` ```