From 968507aba0c7b7bb7c3df0ee1bd6caa8bd0fcc9f Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 6 Dec 2021 23:49:29 +0530 Subject: Convert all GHA references to normal versions (#1570) --- .github/workflows/draft_new_release.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to '.github/workflows/draft_new_release.yml') diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml index 329d111b..931c43b2 100644 --- a/.github/workflows/draft_new_release.yml +++ b/.github/workflows/draft_new_release.yml @@ -9,9 +9,12 @@ jobs: name: "Draft a new 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: Extract version from milestone run: | @@ -35,12 +38,12 @@ jobs: echo "PR_BASE=release-${BRANCH_VERSION}" >> $GITHUB_ENV echo "PR_HEAD=release-prep" >> $GITHUB_ENV - - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f + - uses: actions/checkout@v2.4.0 with: ref: ${{ env.CHECKOUT_REF }} - name: Update changelog - uses: thomaseizinger/keep-a-changelog-new-release@9f6c16b8af7dd10f8aa0ad740fd648b2cfe22171 + uses: thomaseizinger/keep-a-changelog-new-release@1.3.0 with: version: ${{ github.event.milestone.title }} @@ -75,7 +78,7 @@ jobs: git commit -m "build: bump version" - name: Create Pull Request - uses: peter-evans/create-pull-request@01f7dd1d28f5131231ba3ede0f1c8cb413584a1d + uses: peter-evans/create-pull-request@v3.11.0 with: author: GitHub Actions body: This is an automated pull request to bump the changelog for the ${{ github.event.milestone.title }} release. -- cgit v1.2.3