This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
update to TileDB-2.17.4/TileDB-Java-0.19.5 #101
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TileDB-Trino | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- '*' | |
branches: | |
- 'master' | |
pull_request: | |
jobs: | |
Test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-11 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
check-latest: true | |
- run: | | |
mvn checkstyle:checkstyle | |
shell: bash | |
name: checkStyle | |
- run: | | |
mvn clean package -e -DskipTests | |
shell: bash | |
name: checkFormat | |
- run: | | |
mvn test | |
shell: bash | |
name: test | |
Release: | |
if: startsWith(github.ref, 'refs/tags/') | |
needs: [Test] | |
name: Create-Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set-up Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
check-latest: true | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Create-Jars | |
run: set +e; mvn clean package -DskipTests; mkdir jars/; cp ./target/*.jar jars/ | |
- name: Create Release | |
id: create_release | |
uses: softprops/action-gh-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
files: jars/*.jar | |
tag_name: ${{ github.event.release.tag_name }} | |
name: ${{ github.event.release.tag_name }} | |
draft: false | |
prerelease: false |