Skip to content

Commit b5568ab

Browse files
committed
fix upload step and improve cache line
1 parent b906b71 commit b5568ab

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
~/.gradle/wrapper
3535
.gradle
3636
build/assets
37-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
37+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '.gradle/dependency-locks/*') }}
3838
restore-keys: |
3939
${{ runner.os }}-gradle-
4040
@@ -64,5 +64,5 @@ jobs:
6464
with:
6565
name: git-plugin-${{ steps.get_version.outputs.VERSION }}
6666
path: |
67-
build/distributions/git-plugin-${{ steps.get_version.outputs.VERSION }}.zip
67+
build/distributions/git-plugin-${{ steps.get_version.outputs.VERSION }}.jar
6868
if-no-files-found: error

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
~/.gradle/wrapper
3131
.gradle
3232
build/assets
33-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
33+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '.gradle/dependency-locks/*') }}
3434
restore-keys: |
3535
${{ runner.os }}-gradle-
3636
@@ -55,6 +55,6 @@ jobs:
5555
draft: false
5656
prerelease: false
5757
files: |
58-
build/distributions/git-plugin-${{ steps.get_version.outputs.VERSION }}.zip
58+
build/distributions/git-plugin-${{ steps.get_version.outputs.VERSION }}.jar
5959
env:
6060
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)