Skip to content

Commit

Permalink
Run CI build for main branch and update gh task versions
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpanzer committed Dec 25, 2023
1 parent 4086f71 commit f0aaec5
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Build Master
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
schedule:
- cron: '0 0 * * *'

Expand All @@ -16,23 +16,25 @@ jobs:
max-parallel: 2
matrix:
java:
- '1.8'
- '8'
- '11'
- '17'
os:
- ubuntu-latest
- macos-latest
exclude:
- os: macos-latest
java: '1.8'
- os: windows-latest
java: '1.8'
java: '8'
- os: macos-latest
java: '11'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build
run: |
Expand All @@ -42,12 +44,13 @@ jobs:
name: Build on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
java-version: 17
- name: Assemble
shell: cmd
run: |
Expand Down

0 comments on commit f0aaec5

Please sign in to comment.