Skip to content

Commit

Permalink
Modify GHA scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
marest94 committed Nov 13, 2023
1 parent 312b223 commit eedf4e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ECC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Build Ecc and run GH Action
on:
push:
branches: [ "feature/*", "hotfix/*", "develop", "master"]
# pull_request:
# branches: [ "develop" ]

jobs:
build:
Expand All @@ -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

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/maven_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit eedf4e6

Please sign in to comment.