Skip to content

Bump the spark group with 2 updates #319

Bump the spark group with 2 updates

Bump the spark group with 2 updates #319

Workflow file for this run

name: TileDB-Spark
on:
workflow_dispatch:
push:
tags:
- '*'
branches:
- 'master'
pull_request:
jobs:
Test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-13 ]
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '11'
check-latest: true
- run: unset SYSTEM; ./gradlew checkFormat;
shell: bash
name: checkFormat
- run: unset SYSTEM; ./gradlew assemble;
shell: bash
name: assemble
- run: unset SYSTEM; ./gradlew test;
name: test
shell: bash
Release:
if: startsWith(github.ref, 'refs/tags/')
needs: [Test]
name: Create-Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '11'
check-latest: true
- name: Create-Jars
run: unset SYSTEM; ./gradlew assemble; ./gradlew shadowJar; mkdir jars/; cp ./build/libs/*.jar jars/
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
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
- name: Upload to maven
run: |
chmod +x ./ci/upload_to_maven.sh
./ci/upload_to_maven.sh
shell: bash
env:
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_SECRET_KEYS_ENC: ${{ secrets.GPG_SECRET_KEYS_ENC }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}