Skip to content

update github-actions.yml #4

update github-actions.yml

update github-actions.yml #4

Workflow file for this run

name: Build project
on:
push:
branches:
- *

Check failure on line 6 in .github/workflows/github-actions.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/github-actions.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
pull_request:
branches:
- *
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 17 for x64
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
architecture: 'x64'
- name: Build & Test
run: mvn -B clean package
- name: create & run docker image
run: docker-compose up -d --build