25 lines
566 B
YAML
25 lines
566 B
YAML
name: Build with Gradle
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
build-gradle-project:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout project sources
|
|
uses: actions/checkout@v3
|
|
- name: Setup Gradle
|
|
uses: gradle/gradle-build-action@v2
|
|
- name: Run build with Gradle Wrapper
|
|
run: ./gradlew teavm
|
|
- name: Setup Java JDK
|
|
uses: actions/setup-java@v3.12.0
|
|
- name: Compile EPK
|
|
run: bash lax1dude/epkcompiler/run_unix.sh
|
|
- name: Export data
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: web
|
|
path: js/*
|