Skip to content

Update maven.yaml

Update maven.yaml #23

Workflow file for this run

name: Maven Build

Check failure on line 1 in .github/workflows/maven.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/maven.yaml

Invalid workflow file

(Line: 22, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory
on:
workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Javaa
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: mvn clean package
- name: login to ECR
- uses: aws-actions/configure-aws-credentials@v4
with:
access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
region: ${{ secrets.AWS_REGION }}