File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build Artifacts (Java 8)
2+
3+ env :
4+ MAVEN_ARGS : -B -C -V -ntp -Dhttp.keepAlive=false -e -Prelease -DstagingProgressTimeoutMinutes=20
5+
6+ on :
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ build-artifacts :
14+ name : Build JARs Java 8
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+ - name : Setup Java 8
20+ uses : actions/setup-java@v4
21+ with :
22+ java-version : 8
23+ distribution : ' temurin'
24+ - name : Build Project (skip tests)
25+ run : ./mvnw ${MAVEN_ARGS} clean package -DskipTests
26+ - name : Collect JARs
27+ run : |
28+ mkdir -p artifacts
29+ find . -path ./artifacts -prune -o -name '*.jar' -not -name '*-sources.jar' -not -name '*-javadoc.jar' -print | xargs -I{} cp {} artifacts/
30+ - name : Upload JARs as artifacts
31+ uses : actions/upload-artifact@v4
32+ with :
33+ name : kubernetes-client-jars-java8
34+ path : artifacts/*.jar
35+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments