Skip to content

updated main.yml file #4

updated main.yml file

updated main.yml file #4

Workflow file for this run

name: A workflow for my Hello World App
on: push
jobs:
build:
name: Hello world action
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Build with Maven
run: mvn package
- name: Run docker compose
run: docker compose up --abort-on-container-exit