You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
takeshobo/.github/workflows/blank.yml

30 lines
701 B

name: Java CI
on: [push,workflow_dispatch]
jobs:
Run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Gradle wrapper
run: gradle wrapper --gradle-version 7.1
- name: Run with Gradle
run: nohup ./gradlew run &
- name: Ngrok TCP Tunelling
uses: apogiatzis/ngrok-tunneling-action@v0.1.4
with:
timeout: 1h
port: 8080
ngrok_authtoken: ${{ secrets.NGROK_AUTHTOKEN }}