1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-05-05 09:34:03 +02:00

Disable the configuration cache for GitHub actions

These tasks should be rewritten to work nicely with Gradle's configuration cache. In the meantime, this allows them to still run as actions.
This commit is contained in:
Matt Ellis 2024-07-03 17:34:45 +01:00 committed by Alex Pláte
parent b2a4e59571
commit afceecadbe
4 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@ jobs:
echo "LAST_COMMIT=$(git rev-list -n 1 tags/workflow-close-youtrack)" >> $GITHUB_ENV
- name: Update YouTrack
run: ./gradlew updateYoutrackOnCommit
run: ./gradlew --no-configuration-cache updateYoutrackOnCommit
env:
SUCCESS_COMMIT: ${{ env.LAST_COMMIT }}
YOUTRACK_TOKEN: ${{ secrets.YOUTRACK_TOKEN }}

View File

@ -30,7 +30,7 @@ jobs:
- name: Update authors
id: update_authors
run: ./gradlew updateMergedPr -PprId=${{ github.event.number }}
run: ./gradlew --no-configuration-cache updateMergedPr -PprId=${{ github.event.number }}
env:
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}

View File

@ -40,7 +40,7 @@ jobs:
- name: Update authors
id: update_authors
run: ./gradlew updateAuthors --stacktrace
run: ./gradlew --no-configuration-cache updateAuthors --stacktrace
env:
SUCCESS_COMMIT: ${{ env.LAST_COMMIT }}
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}

View File

@ -36,7 +36,7 @@ jobs:
echo "LAST_COMMIT=$(git rev-list -n 1 tags/workflow-changelog)" >> $GITHUB_ENV
- name: Update changelog
run: ./gradlew updateChangelog
run: ./gradlew --no-configuration-cache updateChangelog
env:
SUCCESS_COMMIT: ${{ env.LAST_COMMIT }}
@ -60,4 +60,4 @@ jobs:
# dependabot updates. See mergeDependatobPR.yml file.
# However, it turned out that GitHub accepts pushes from the actions as a PR and requires checks, that are always
# false for pushing from actions.
# This secret is created to implement the workaround described in https://stackoverflow.com/a/76135647/3124227
# This secret is created to implement the workaround described in https://stackoverflow.com/a/76135647/3124227