diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-12-06 23:49:29 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-06 18:19:29 +0000 |
commit | 968507aba0c7b7bb7c3df0ee1bd6caa8bd0fcc9f (patch) | |
tree | bb6c0dbc3381c5314953d99d0581d0a99b700388 /.github/workflows/deploy_library_releases.yml | |
parent | 20eae05eec21784bf57a6687b702918476b83a05 (diff) |
Convert all GHA references to normal versions (#1570)
Diffstat (limited to '.github/workflows/deploy_library_releases.yml')
-rw-r--r-- | .github/workflows/deploy_library_releases.yml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/.github/workflows/deploy_library_releases.yml b/.github/workflows/deploy_library_releases.yml index d3c27a91..1b8e11c2 100644 --- a/.github/workflows/deploy_library_releases.yml +++ b/.github/workflows/deploy_library_releases.yml @@ -9,12 +9,15 @@ jobs: publish-release: runs-on: ubuntu-latest steps: - - uses: actions/setup-java@d202f5dbf7256730fb690ec59f6381650114feb2 - with: - java-version: '11' + - name: Set up JDK + uses : actions/setup-java@v2.4.0 + with : + distribution : 'zulu' + java-version : '11' + cache: 'gradle' - name: Checkout repository - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f + uses: actions/checkout@v2.4.0 - name: Determine publishing task id: task-select @@ -28,7 +31,7 @@ jobs: fi - name: Upload binaries - uses: gradle/gradle-build-action@cba1833ddecbbee649950c284416981928631008 + uses: gradle/gradle-build-action@v2.0.1 with: arguments: :${{ steps.task-select.outputs.PROJECT }}:publishAllPublicationsToMavenCentralRepository env: @@ -38,7 +41,7 @@ jobs: ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.NEXUS_PUBLISH_GPG_KEY_PASSWORD }} - name: Close and release repository - uses: gradle/gradle-build-action@cba1833ddecbbee649950c284416981928631008 + uses: gradle/gradle-build-action@v2.0.1 with: arguments: closeAndReleaseRepository env: |