diff options
Diffstat (limited to '.github/workflows/draft_new_release.yml')
| -rw-r--r-- | .github/workflows/draft_new_release.yml | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml index bf6cb9a0..e3dfa8e9 100644 --- a/.github/workflows/draft_new_release.yml +++ b/.github/workflows/draft_new_release.yml @@ -1,4 +1,4 @@ -name: "Draft new release" +name: Draft new release on: milestone: @@ -6,10 +6,11 @@ on: jobs: draft-new-release: - name: "Draft a new release" + name: Draft a new release runs-on: ubuntu-latest steps: - name: Extract version from milestone + shell: bash run: | VERSION="${{ github.event.milestone.title }}" RELEASE_VERSION="${VERSION/v/}" @@ -36,11 +37,11 @@ jobs: ref: ${{ env.CHECKOUT_REF }} - name: Set up JDK - uses : actions/setup-java@v2.4.0 - with : - distribution : 'zulu' - java-version : '17' - cache: 'gradle' + uses: actions/setup-java@v2.4.0 + with: + distribution: zulu + java-version: 17 + cache: gradle - name: Update changelog uses: thomaseizinger/keep-a-changelog-new-release@1.3.0 @@ -48,6 +49,7 @@ jobs: version: ${{ github.event.milestone.title }} - name: Initialize git config and commit changes + shell: bash run: | # Configure name and email for Actions user git config user.name "GitHub Actions" @@ -68,9 +70,9 @@ jobs: # that the version number is already correct, and we only need to drop the # -SNAPSHOT suffix. if [[ "${CHECKOUT_REF}" == "develop" ]]; then - ./gradlew clearPreRelease + ./gradlew --no-configuration-cache --no-daemon clearPreRelease else - ./gradlew bumpPatch + ./gradlew --no-configuration-cache --no-daemon bumpPatch fi # Commit changes to the versioning |
