Skip to content

Merge pull request #6 from shuninoz/master #12

Merge pull request #6 from shuninoz/master

Merge pull request #6 from shuninoz/master #12

Workflow file for this run

name: Publish pipeline
permissions:
contents: read
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:
jobs:
publish-artifacts:
runs-on: ubuntu-22.04
strategy:
max-parallel: 1
fail-fast: false
matrix:
spark:
- 2.4.8
- 3.0.2
- 3.1.3
- 3.2.4
- 3.3.2
- 3.4.1
- 3.5.0
env:
ENV: 'ci'
SPARK_VERSION: ${{ matrix.spark }}
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: |
3.7
3.9
- name: Import GPG Key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Publish artifacts
run: |
sbt -java-home "$JAVA_HOME_8_X64" clean +publishSigned -DsparkVersion="$SPARK_VERSION" sonatypeBundleRelease