reuse openjdk:17-jdk to trying avoid connection timeout
Some checks failed
Java CI / build (push) Failing after 9s
Some checks failed
Java CI / build (push) Failing after 9s
This commit is contained in:
parent
c03c73fa2e
commit
240de5f091
@ -12,15 +12,12 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: dockerp.com/openjdk:17-jdk
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: http://fly6516.synology.me:4000/Gitea_Action/checkout@v2
|
uses: http://fly6516.synology.me:4000/Gitea_Action/checkout@v2
|
||||||
|
|
||||||
- name: Set up JDK 17
|
|
||||||
uses: http://fly6516.synology.me:4000/Gitea_Action/setup-java@v2
|
|
||||||
with:
|
|
||||||
java-version: '17'
|
|
||||||
distribution: 'temurin'
|
|
||||||
|
|
||||||
- name: Compile Java program
|
- name: Compile Java program
|
||||||
run: javac HelloWorld.java -d ./build/classes
|
run: javac HelloWorld.java -d ./build/classes
|
||||||
|
Loading…
Reference in New Issue
Block a user