Skip to content

Merge pull request #20 from wAVeckx/dependabot/maven/io.trino-trino-r… #86

Merge pull request #20 from wAVeckx/dependabot/maven/io.trino-trino-r…

Merge pull request #20 from wAVeckx/dependabot/maven/io.trino-trino-r… #86

Workflow file for this run

name: Java CI
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java-version:
- 17
env:
MAVEN_SKIP_CHECKS_AND_DOCS: -Dair.check.skip-all=true -Dmaven.javadoc.skip=true
MAVEN_FAST_INSTALL: -DskipTests -Dair.check.skip-all=true -Dmaven.javadoc.skip=true -B -q -T 1.0C
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
- name: mvn install
run: mvn install $MAVEN_FAST_INSTALL
- name: mvn test
run: mvn test -Dmaven.javadoc.skip=true -B
- name: Release
uses: softprops/action-gh-release@v1
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.java-version == '17' }}
with:
files: |
target/trino-jtopen-*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}