Compare commits

...

5 Commits

Author SHA1 Message Date
David Liu
a9c7a91015
Merge 8cd9b686db into 292cc14be8 2024-10-01 12:47:57 +02:00
Joel Ambass
292cc14be8
Merge pull request #686 from actions/Jcambass-patch-1
Upgrade IA Publish
2024-09-26 08:24:15 +02:00
aparnajyothi-y
b36c23c0d9
check-dist-failure-fix (#687) 2024-09-23 11:07:17 -05:00
Joel Ambass
68b1d5a3da
Upgrade IA Publish 2024-09-16 17:19:52 +02:00
David Liu
8cd9b686db
Update README.md
A confusion introduced by running `java HelloWorldApp.java`
I believe the file is not an artifact of `setup-java`, thus user should provide it. But there is no tips in the guide that user should prepare it in advance. Directly copy the code snippets will introduce a straightforward error, which should not happen in a guide.
2024-03-22 11:47:03 +08:00
3 changed files with 4298 additions and 4304 deletions

View File

@ -2,7 +2,7 @@ name: 'Publish Immutable Action Version'
on: on:
release: release:
types: [created] types: [published]
jobs: jobs:
publish: publish:
@ -17,6 +17,4 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Publish - name: Publish
id: publish id: publish
uses: actions/publish-immutable-action@0.0.1 uses: actions/publish-immutable-action@0.0.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -74,7 +74,6 @@ steps:
with: with:
distribution: 'temurin' # See 'Supported distributions' for available options distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21' java-version: '21'
- run: java HelloWorldApp.java
``` ```
#### Azul Zulu OpenJDK #### Azul Zulu OpenJDK
@ -85,7 +84,6 @@ steps:
with: with:
distribution: 'zulu' # See 'Supported distributions' for available options distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '21' java-version: '21'
- run: java HelloWorldApp.java
``` ```
#### Supported version syntax #### Supported version syntax
@ -208,7 +206,6 @@ steps:
distribution: 'temurin' distribution: 'temurin'
java-version: '21' java-version: '21'
check-latest: true check-latest: true
- run: java HelloWorldApp.java
``` ```
### Testing against different Java versions ### Testing against different Java versions
@ -227,7 +224,6 @@ jobs:
with: with:
distribution: '<distribution>' distribution: '<distribution>'
java-version: ${{ matrix.java }} java-version: ${{ matrix.java }}
- run: java HelloWorldApp.java
``` ```
### Install multiple JDKs ### Install multiple JDKs

8592
dist/setup/index.js vendored

File diff suppressed because it is too large Load Diff