Skip to content

Merge pull request #61 from zhanghaohit/feat/v0.9.2 #151

Merge pull request #61 from zhanghaohit/feat/v0.9.2

Merge pull request #61 from zhanghaohit/feat/v0.9.2 #151

Workflow file for this run

name: cicd
on:
push:
branches:
- v3.2.1-openmldb
tags:
- v*
pull_request:
workflow_dispatch:
jobs:
build_spark_distribution:
runs-on: self-hosted
container:
image: ghcr.io/4paradigm/hybridsql:0.4.1
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '8'
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: compile
run: |
./dev/make-distribution.sh --name openmldbspark --tgz -Phadoop-3.3 -Pyarn -Pkubernetes -Phive -Phive-thriftserver -Piceberg
- name: generate signature
run: |
sha256sum spark-*-bin-openmldbspark.tgz > SHA256SUM
- name: Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: |
spark-*-bin-openmldbspark.tgz
SHA256SUM
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}