Skip to content

Commit

Permalink
Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-dudko committed Jul 20, 2023
1 parent 20bb9a1 commit ed94b3f
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/beam_PreCommit_Kotlin_Examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,24 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_job: ${{ github.job }}
github_current_run_id: ${{ github.run_id }}
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
cache-read-only: false
- name: Install Java
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: '8'
- name: Setup Gradle
uses: gradle/wrapper-action@v5

- name: Cache Gradle
uses: gradle/cache-action@v1
- name: Cache Gradle dependencies
uses: actions/cache@v2
with:
cache-version: 2
path: ~/.gradle/caches
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: run Kotlin Examples script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
Expand Down

0 comments on commit ed94b3f

Please sign in to comment.