Skip to content

Commit 4ee157f

Browse files
authored
Update release.yml
1 parent 41b7751 commit 4ee157f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ jobs:
99
runs-on: macos-latest
1010

1111
steps:
12+
- name: Cache build deps
13+
uses: actions/cache@v2
14+
with:
15+
path: |
16+
~/.gradle/wrapper
17+
~/.konan/cache
18+
~/.konan/dependencies
19+
key: build-deps-${{ hashFiles('**/*gradle*') }}
20+
1221
- name: Checkout source
1322
uses: actions/checkout@v1
1423

@@ -23,4 +32,4 @@ jobs:
2332
NEW_VERSION=$(echo "${GITHUB_REF}" | cut -d "/" -f3)
2433
echo "New version: ${NEW_VERSION}"
2534
echo "Github username: ${GITHUB_ACTOR}"
26-
./gradlew -Pversion=${NEW_VERSION} publish
35+
./gradlew -Pversion=${NEW_VERSION} publish

0 commit comments

Comments
 (0)