try building test image #34
Workflow file for this run
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
name: Java (build) | ||
on: | ||
push: | ||
paths: | ||
- 'visual-java/**' | ||
- .github/workflows/java-build.yml | ||
pull_request: | ||
paths: | ||
- 'visual-java/**' | ||
- .github/workflows/java-build.yml | ||
defaults: | ||
run: | ||
working-directory: visual-java | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '8' | ||
cache: 'maven' | ||
- name: Build with Maven | ||
run: mvn -B package --file pom.xml | ||
build-test-docker-image: | ||
steps: | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Build and push | ||
uses: docker/build-push-action@v5 | ||
working-directory: ./visual-java/ | ||
Check failure on line 37 in .github/workflows/java-build.yml GitHub Actions / Java (build)Invalid workflow file
|
||
with: | ||
tags: saucelabs/java-sdk | ||
file: ./Dockerfile |