github action

master
pan 4 years ago
parent 6a657d72c4
commit e04b18fc5c
  1. 11
      .github/workflows/blank.yml

@ -3,7 +3,7 @@ name: Java CI
on: [push,workflow_dispatch]
jobs:
build:
Run:
runs-on: ubuntu-latest
steps:
@ -16,8 +16,11 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Gradle wrapper
run: gradle wrapper
- name: Build with Gradle
run: ./gradlew assemble
run: gradle wrapper --gradle-version 7.1
- name: Get Public IP
run: curl 'https://api.ipify.org?format=json'
- name: Run with Gradle
run: ./gradlew run

Loading…
Cancel
Save