Skip to content
This repository was archived by the owner on Jul 16, 2022. It is now read-only.

Commit 4e6c5fd

Browse files
committed
Actions: Change release script
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
1 parent 9a9f239 commit 4e6c5fd

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.github/workflows/build-release-and-upload.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@ jobs:
1616
with:
1717
distribution: 'temurin'
1818
java-version: '8'
19-
- uses: burrunan/gradle-cache-action@v1
20-
with:
21-
arguments: check
22-
env:
23-
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_SECRET_KEY }}
24-
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_KEY_PASSPHARASE }}
2519
- name: Get the version
2620
id: get_version
2721
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
22+
- uses: gradle/gradle-build-action@v2
23+
- run: ./gradlew check
24+
env:
25+
CI: true
2826
- name: Create Release
2927
id: create_release
3028
uses: actions/create-release@v1
@@ -36,9 +34,7 @@ jobs:
3634
draft: false
3735
prerelease: false
3836
- name: Publish package to OSSRH
39-
uses: burrunan/gradle-cache-action@v1
40-
with:
41-
arguments: publishToSonatype
37+
run: ./gradlew publishToSonatype
4238
env:
4339
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_SECRET_KEY }}
4440
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_KEY_PASSPHARASE }}

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
55

6-
## [0.10.1] - 2022-01-18
6+
## [0.10.2] - 2022-01-18
77
### Fixed
88
- Release actions script
99

@@ -165,8 +165,8 @@ All notable changes to this project will be documented in this file.
165165
### Added
166166
- Start project.
167167

168-
[Unreleased]: https://github.com/dictzip/dictzip-java/compare/v0.10.1...HEAD
169-
[0.10.1]: https://github.com/dictzip/dictzip-java/compare/v0.10.0...v0.10.1
168+
[Unreleased]: https://github.com/dictzip/dictzip-java/compare/v0.10.2...HEAD
169+
[0.10.2]: https://github.com/dictzip/dictzip-java/compare/v0.10.0...v0.10.2
170170
[0.10.0]: https://github.com/dictzip/dictzip-java/compare/v0.9.5...v0.10.0
171171
[0.9.5]: https://github.com/dictzip/dictzip-java/compare/v0.9.2...v0.9.5
172172
[0.9.2]: https://github.com/dictzip/dictzip-java/compare/v0.9.1...v0.9.2

0 commit comments

Comments
 (0)