Skip to content

updated Github workflows #394

updated Github workflows

updated Github workflows #394

name: Build citydb-tool
on: [ push, pull_request ]
jobs:
gradle:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
java: [ 17 ]
distribution: [ temurin ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
- name: Grant execute permission to Gradle
run: chmod +x ./gradlew
- name: Execute Gradle build
uses: gradle/gradle-build-action@v2
with:
arguments: build
cache-disabled: true