Skip to content

Commit

Permalink
poc testing jar generation and upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnysideup committed Jan 27, 2022
1 parent 566a2bb commit a22042c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ jobs:
skipClusterCreation: true

- name: Generate SDKS
run: |
kind version
make sdks
run: make sdks

- name: Generate Java JAR
run: docker run --rm -v $HOME/.m2:/root/.m2 -v $(pwd)/sdks/java:/wd --workdir /wd maven:3-openjdk-8 mvn -s settings.xml package

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
path: sdks/java/target/*.jar
if-no-files-found: error
1 change: 1 addition & 0 deletions sdks/java/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
src/
docs/
target/
*.xml

0 comments on commit a22042c

Please sign in to comment.