diff --git a/.github/workflows/maven.yml b/.github/workflows/maven-11.yml similarity index 83% rename from .github/workflows/maven.yml rename to .github/workflows/maven-11.yml index 2d910f9..18af3ff 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven-11.yml @@ -1,4 +1,4 @@ -name: Java CI +name: Java 11 CI on: [push] @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Build with Maven run: mvn -B package --file pom.xml - run: mkdir -p target diff --git a/.github/workflows/maven-16.yml b/.github/workflows/maven-16.yml new file mode 100644 index 0000000..e96d672 --- /dev/null +++ b/.github/workflows/maven-16.yml @@ -0,0 +1,23 @@ +name: Java 16 CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Set up JDK 16 + uses: actions/setup-java@v1 + with: + java-version: 16 + - name: Build with Maven + run: mvn -B package --file pom.xml + - run: mkdir -p target + + - uses: actions/upload-artifact@master + with: + name: v10lift + path: target \ No newline at end of file