BlueMapAPI/.github/workflows/publish.yml
2022-07-28 23:33:33 +02:00

23 lines
472 B
YAML

name: Java CI
on:
release:
types: [ published ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Java 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Gradle
env:
GITHUB_USERNAME: ${{ secrets.github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew clean build test publish