Skip to content

try building test image #34

try building test image

try building test image #34

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Java (build)

Invalid workflow file

The workflow is not valid. .github/workflows/java-build.yml (Line: 37, Col: 7): Unexpected value 'working-directory' .github/workflows/java-build.yml (Line: 32, Col: 5): Required property is missing: runs-on
with:
tags: saucelabs/java-sdk
file: ./Dockerfile