This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebase joschi/setup-jdk action on actions/setup-java
Rebase on actions/setup-java in order to benefit from some features in that repository and add the setup-jdk modifications in a way, which makes future merges from actions/setup-java simpler.
- Loading branch information
Showing
15 changed files
with
897 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: 'nightly' | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
jobs: | ||
run: | ||
name: Run | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ubuntu-latest, macOS-latest, windows-latest] | ||
jdk-version: [8, 11, 14] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set Node.js 12.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
- name: npm install | ||
run: npm install | ||
- name: Clear tool cache | ||
if: runner.os != 'windows' | ||
run: mv "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old" | ||
- name: Clear tool cache (Windows) | ||
if: runner.os == 'windows' | ||
run: move "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old" | ||
- name: Setup Java ${{ matrix.java-version}} | ||
uses: ./ | ||
with: | ||
java-version: ${{ matrix.jdk-version }} | ||
- name: Verify Java ${{ matrix.java-version}} | ||
if: runner.os != 'windows' | ||
run: __tests__/verify-java.sh ${{ matrix.java-version }} | ||
- name: Verify Java ${{ matrix.java-version}} (Windows) | ||
if: runner.os == 'windows' | ||
run: __tests__/verify-java.ps1 ${{ matrix.java-version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.