forked from apache/kafka
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a139c64
commit f2b6c4a
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# The workflow to check pull requests into main. | ||
# This checks the source in the state as if after the merge. | ||
name: Branch push checks | ||
on: push | ||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
java-version: [ 11, 17 ] | ||
runs-on: [ ubuntu-latest ] | ||
name: Build on ${{ matrix.runs-on }} with jdk ${{ matrix.java-version }} | ||
runs-on: ${{ matrix.runs-on }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Set up JDK ${{ matrix.java-version }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: ${{ matrix.java-version }} | ||
distribution: temurin | ||
|
||
- name: Build Docker image | ||
run: make BRANCH=${GITHUB_REF_NAME} docker_image |