Skip to content

Commit

Permalink
Add input to specify working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh authored Sep 24, 2023
1 parent 02e7548 commit 3ab6269
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/actions/prepare-build-env/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Set up build environment
description: Set up Java and Gradle (including caching).

inputs:
lingua-franca-dir:
description: 'Path to the lingua-franca directory'
required: false

runs:
using: "composite"
steps:
Expand All @@ -12,6 +18,7 @@ runs:
with:
cache-read-only: false
- name: Download Gradle Wrapper 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) || \
Expand Down

0 comments on commit 3ab6269

Please sign in to comment.