diff --git a/.github/workflows/ECC.yml b/.github/workflows/ECC.yml index 7c29ba75..fa30dc46 100644 --- a/.github/workflows/ECC.yml +++ b/.github/workflows/ECC.yml @@ -3,8 +3,6 @@ name: Build Ecc and run GH Action on: push: branches: [ "feature/*", "hotfix/*", "develop", "master"] -# pull_request: -# branches: [ "develop" ] jobs: build: @@ -18,15 +16,19 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 - name: Set up JDK 11 - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '11' + cache: maven + - name: Install maven dependencies run: ./ci/mavenDependency.sh + - name: Build with Maven run: mvn clean package + - name: Run Creating Docker Image from ECC repo run: ./ci/deploy.sh diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 4e68667e..de9cd970 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -21,7 +21,6 @@ jobs: with: java-version: '11' distribution: 'temurin' - cache: maven - name: Install maven dependencies run: ./ci/mavenDependency.sh - name: Build with Maven diff --git a/.github/workflows/maven_release.yml b/.github/workflows/maven_release.yml index 59ed1acf..5cf85002 100644 --- a/.github/workflows/maven_release.yml +++ b/.github/workflows/maven_release.yml @@ -21,7 +21,6 @@ jobs: with: java-version: '11' distribution: 'temurin' - cache: maven - name: Initialize mandatory git config run: | git config user.name "GitHub Actions"