Skip to content

Commit bf958d2

Browse files
authored
1 parent e4b388a commit bf958d2

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,22 @@ on:
55
types: [published]
66

77
jobs:
8-
build:
8+
release:
99
runs-on: ubuntu-latest
1010

1111
steps:
1212
- uses: actions/checkout@v2
1313
- uses: gradle/wrapper-validation-action@v1
14+
1415
- name: Set up Java 1.8
1516
uses: actions/setup-java@v1
1617
# dokka doesn't support Java 11
1718
with:
1819
java-version: 1.8
19-
- name: Set up Gradle cache
20-
uses: actions/cache@v1
21-
with:
22-
path: ~/.gradle/caches
23-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
24-
restore-keys: |
25-
${{ runner.os }}-gradle-
20+
2621
- name: Build library with Gradle
2722
run: ./gradlew clean build
23+
2824
- name: Publish library with Gradle
2925
run: |
3026
NEW_VERSION=$(echo "${GITHUB_REF}" | cut -d "/" -f3)
@@ -35,4 +31,3 @@ jobs:
3531
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
3632
GPG_SECRET: ${{ secrets.GPG_SECRET }}
3733
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
38-

0 commit comments

Comments
 (0)