Add example for Serialization.asJson and Serialization.asYaml methods #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
name: Java ${{ matrix.java }} Maven | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [11, 12, 13, 14, 15, 17] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Build Project | |
run: mvn clean install -fkubernetes-client-demo-parent |