mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-03 01:30:50 +08:00
Merge StartRocks plugin
This commit is contained in:
parent
03158bf046
commit
b49ceb135f
31
.github/workflows/release.yml
vendored
31
.github/workflows/release.yml
vendored
@ -1,31 +0,0 @@
|
|||||||
name: Release
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- "v*.*.*"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Set up Maven Central Repository
|
|
||||||
uses: actions/setup-java@v2
|
|
||||||
with:
|
|
||||||
java-version: '8'
|
|
||||||
distribution: 'adopt'
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- run: |
|
|
||||||
git checkout main && git pull origin main
|
|
||||||
rm -rf target
|
|
||||||
mvn -U -pl starrockswriter -am clean package assembly:assembly -Dmaven.test.skip=true
|
|
||||||
cd target/datax/datax/plugin/writer/
|
|
||||||
tar -czvf starrockswriter.tar.gz starrockswriter
|
|
||||||
- name: Release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
|
||||||
files: |
|
|
||||||
target/datax/datax/plugin/writer/starrockswriter.tar.gz
|
|
8
build.sh
8
build.sh
@ -1,8 +0,0 @@
|
|||||||
ShellDir="$( cd "$( dirname "$0" )" && pwd )"
|
|
||||||
cd $ShellDir
|
|
||||||
rm -rf target
|
|
||||||
mvn -U -pl starrockswriter -am clean package assembly:assembly -Dmaven.test.skip=true
|
|
||||||
rm -f starrockswriter.tar.gz
|
|
||||||
cd target/datax/datax/plugin/writer/
|
|
||||||
tar -czvf starrockswriter.tar.gz starrockswriter
|
|
||||||
mv starrockswriter.tar.gz $ShellDir
|
|
Loading…
Reference in New Issue
Block a user