File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish artifacts
2+ on :
3+ # Will only run when release is published.
4+ release :
5+ types :
6+ - created
7+ workflow_dispatch :
8+
9+ jobs :
10+ publish-artifacts :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Check out code
14+ uses : actions/checkout@v4
15+ with :
16+ ref : hypertrace-1.2.0
17+ fetch-depth : 0
18+
19+ - name : Set up JDK 11 for x64
20+ uses : actions/setup-java@v4
21+ with :
22+ java-version : ' 11'
23+ distribution : ' temurin'
24+ architecture : x64
25+ cache : maven
26+
27+ - name : Build with Maven
28+ run : mvn install package -DskipTests -Pbin-dist -Pbuild-shaded-jar -Djdk.version=11 -T1C
29+
30+ - name : Determine version
31+ id : version
32+ run : echo version=$(git describe --abbrev=0 --tags) >> $GITHUB_OUTPUT
33+
34+ - name : Collect shaded jars
35+ run : echo ${{ steps.version.outputs.version }} && find . -name '*.jar' && mkdir pinot-${{ steps.version.outputs.version }} && cp target/*-shaded.jar pinot-${{ steps.version.outputs.version }}
36+
37+ - name : Upload Packages
38+ uses : actions/upload-artifact@v4
39+ with :
40+ name : Package
41+ path : pinot-${{ steps.version.outputs.version }}
You can’t perform that action at this time.
0 commit comments