summaryrefslogtreecommitdiffstats
path: root/.github/workflows/draft_new_release.yml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-02-17 10:13:04 +0530
committerGitHub <noreply@github.com>2022-02-17 04:43:04 +0000
commitc9992a64fc2ab1f137b08709b8090fab33fc5cf8 (patch)
tree5933e8d5a785841319795dce623fad9a6956aee4 /.github/workflows/draft_new_release.yml
parentc83ce481967a03a96a4717ed33c3d1643138c68e (diff)
downloadHardenedPass-c9992a64fc2ab1f137b08709b8090fab33fc5cf8.tar.gz
HardenedPass-c9992a64fc2ab1f137b08709b8090fab33fc5cf8.zip
Turn on Configuration Cache (#1733)
Diffstat (limited to '.github/workflows/draft_new_release.yml')
-rw-r--r--.github/workflows/draft_new_release.yml20
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