Skip to content

Commit bb4a2c1

Browse files
author
Anuraag Agrawal
committed
Fix cache command
1 parent 8a99f90 commit bb4a2c1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/pr-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/setup-java@v1
1919
with:
2020
java-version: 14
21-
- uses: burrunan/gradle-cache-action@v1
22-
name: Cache .gradle
2321
- name: Build with Gradle
24-
run: ./gradlew build
22+
uses: burrunan/gradle-cache-action@v1
23+
with:
24+
arguments: build

.github/workflows/release-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
java-version: 14
1616
- name: Build release with Gradle
1717
uses: burrunan/gradle-cache-action@v1
18-
arguments: build final -Prelease.version=${{ github.event.inputs.version }}
18+
with:
19+
arguments: build final -Prelease.version=${{ github.event.inputs.version }}
1920
env:
2021
PUBLISH_USERNAME: ${{ github.actor }}
2122
PUBLISH_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)