Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh authored Sep 24, 2023
1 parent 3ab6269 commit afb1718
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/prepare-build-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ runs:
uses: gradle/[email protected]
with:
cache-read-only: false
- name: Download Gradle Wrapper and print version
- name: Download Gradle and print version
working-directory: ${{ inputs.lingua-franca-dir }}
run: |
# Retry 3 times before the steps actually fails
(echo "==== Gradle Wrapper Download Attempt: 1 ====" && ./gradlew --version) || \
(echo "==== Gradle Wrapper Download Attempt: 2 ====" && ./gradlew --version) || \
(echo "==== Gradle Wrapper Download Attempt: 3 ====" && ./gradlew --version) || \
(echo "==== Gradle Wrapper Download Failed ====" && exit 1)
(echo "==== Gradle Download Attempt: 1 ====" && ./gradlew --version) || \
(echo "==== Gradle Download Attempt: 2 ====" && ./gradlew --version) || \
(echo "==== Gradle Download Attempt: 3 ====" && ./gradlew --version) || \
(echo "==== Gradle Download Failed ====" && exit 1)
shell: bash

0 comments on commit afb1718

Please sign in to comment.