Skip to content

Build

Build #199

Workflow file for this run

name: Build
on:
push:
workflow_dispatch:
schedule:
- cron: '00 12 * * *'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: gradle
- uses: gradle/wrapper-validation-action@v1
- name: Build
run: |
chmod +x gradlew
./gradlew run
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'