Skip to content

Commit

Permalink
retry action for building
Browse files Browse the repository at this point in the history
  • Loading branch information
osoykan committed Apr 23, 2024
1 parent fd870af commit 5cf0383
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,19 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Gradle Build and Test
uses: gradle/gradle-build-action@v3.3.1

- uses: Wandalen/wretry.action@master
with:
arguments: --build-cache build test koverXmlReport testAggregateXmlReports
action: gradle/[email protected]
with: |
arguments: --build-cache build test koverXmlReport testAggregateXmlReports
attempt_limit: 3
attempt_delay: 2000

# - name: Gradle Build and Test
# uses: gradle/[email protected]
# with:
# arguments: --build-cache build test koverXmlReport testAggregateXmlReports

- name: Add coverage report to PR
id: kover
Expand Down

0 comments on commit 5cf0383

Please sign in to comment.