Skip to content

Docker

Docker #4

name: Build citydb-tool
on: [push, pull_request]
jobs:
build:
runs-on: ${{matrix.os}}-latest
strategy:
matrix:
os: ['ubuntu', 'windows']
java: [ '11' ]
distribution: [ 'temurin' ]
fail-fast: false
steps:
- name: "Checkout"
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: "Set up Java"
uses: actions/setup-java@v3
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
- name: "Grant execute permission for gradlew"
run: chmod +x ./gradlew
- name: "Build with Gradle"
run: ./gradlew build