Skip to content

Commit

Permalink
Fix Github Action pending problem (apache#941)
Browse files Browse the repository at this point in the history
* Fix Github Action pending problem

* Address comments
  • Loading branch information
asdf2014 authored Jan 6, 2022
1 parent e093e0a commit 40a1712
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
MAVEN_OPTS: -Xmx2G -Xms2G
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
Expand All @@ -58,6 +60,8 @@ jobs:
-Dcheckstyle.skip=true \
-Dhttp.keepAlive=false \
-Dmaven.wagon.http.pool=false \
-Dmaven.wagon.http.retryHandler.count=3 \
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Run Unit tests
run: ./mvnw clean verify -B -Dmaven.test.skip=false -Dgpg.skip=true
run: |
./mvnw -B clean verify -Dmaven.test.skip=false -Dgpg.skip=true
2 changes: 2 additions & 0 deletions .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push docker images
env:
MAVEN_OPTS: -Xmx2G -Xms2G
run: |
./mvnw -B clean deploy \
-Dmaven.test.skip \
Expand Down

0 comments on commit 40a1712

Please sign in to comment.