Add retry for downloading artifacts from Space #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build-Helpers Publish to Maven Local | |
| on: | |
| pull_request: | |
| paths: | |
| - 'ci/build-helpers/**' | |
| - '.github/workflows/build-helpers.yml' | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'ci/build-helpers/**' | |
| - '.github/workflows/build-helpers.yml' | |
| jobs: | |
| build-helpers-publish: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v5 | |
| - name: Setup JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'jetbrains' | |
| java-version: '21' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| cache-read-only: ${{ github.ref != 'refs/heads/master' }} | |
| gradle-home-cache-excludes: | | |
| caches/jars-9 | |
| caches/transforms-3 | |
| - name: Publish to Maven Local | |
| shell: bash | |
| working-directory: ci/build-helpers | |
| run: | | |
| ./gradlew --no-daemon --stacktrace publishToMavenLocal |