Update main.yml #23
This file contains hidden or 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: A workflow for my Hello World App | ||
| on: push | ||
| jobs: | ||
| build: | ||
| name: Hello world action | ||
| runs-on: ubuntu-22.04 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| submodules: recursive | ||
| - name: Set up JDK 11 | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: '11' | ||
| distribution: 'adopt' | ||
| - name: Build with Maven | ||
| run: mvn package | ||
| - name: Run docker compose | ||
| working directory: ./seMethods | ||
| run: docker compose up --abort-on-container-exit --build | ||