|
|
@ -1,6 +1,6 @@ |
|
|
|
name: Java CI |
|
|
|
name: Java CI |
|
|
|
|
|
|
|
|
|
|
|
on: [push,] |
|
|
|
on: [push,workflow_dispatch] |
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
build: |
|
|
|
build: |
|
|
@ -13,5 +13,11 @@ jobs: |
|
|
|
with: |
|
|
|
with: |
|
|
|
java-version: '11' |
|
|
|
java-version: '11' |
|
|
|
distribution: 'adopt' |
|
|
|
distribution: 'adopt' |
|
|
|
|
|
|
|
- name: Grant execute permission for gradlew |
|
|
|
|
|
|
|
run: chmod +x gradlew |
|
|
|
|
|
|
|
- name: Gradle wrapper |
|
|
|
|
|
|
|
run: gradle wrapper |
|
|
|
- name: Build with Gradle |
|
|
|
- name: Build with Gradle |
|
|
|
run: ./gradlew build |
|
|
|
run: ./gradlew build |
|
|
|
|
|
|
|
- name: Get Public IP |
|
|
|
|
|
|
|
run: curl 'https://api.ipify.org?format=json' |
|
|
|