-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
caa40ab
commit cb1cf9e
Showing
4 changed files
with
8,218 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,37 +38,31 @@ jobs: | |
with: | ||
arguments: build | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v2 | ||
if: ${{ matrix.java-version == '8' && matrix.os == 'ubuntu-latest' }} | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
if: github.ref == 'refs/heads/master' | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
files: ./build/reports/kover/report.xml | ||
node-version: 18.x | ||
cache: "npm" | ||
|
||
- name: Install npm dependencies | ||
if: github.ref == 'refs/heads/master' | ||
run: npm install | ||
|
||
- name: Identify current version | ||
id: current_version | ||
uses: christian-draeger/[email protected] | ||
with: | ||
path: './gradle.properties' | ||
property: 'release_version' | ||
|
||
- name: Temporarily set snapshot version | ||
if: ${{ github.event_name == 'push' && matrix.os == 'ubuntu-latest' }} | ||
uses: christian-draeger/[email protected] | ||
with: | ||
path: './gradle.properties' | ||
property: 'release_version' | ||
value: ${{steps.current_version.outputs.value}}-SNAPSHOT | ||
- name: Update and tag version | ||
if: github.ref == 'refs/heads/master' | ||
run: npx semantic-release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: gradle/gradle-build-action@v2 | ||
if: github.ref == 'refs/heads/master' | ||
name: Publish snapshot to Maven Central | ||
if: ${{ github.event_name == 'push' && matrix.os == 'ubuntu-latest' }} | ||
env: | ||
ORG_GRADLE_PROJECT_signingKey: ${{secrets.ORG_GRADLE_PROJECT_SIGNINGKEY}} | ||
ORG_GRADLE_PROJECT_signingKeyId: ${{secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID}} | ||
ORG_GRADLE_PROJECT_signingPassword: ${{secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD}} | ||
ORG_GRADLE_PROJECT_sonatypeUsername: ${{secrets.ORG_GRADLE_PROJECT_SONATYPEUSERNAME}} | ||
ORG_GRADLE_PROJECT_sonatypePassword: ${{secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD}} | ||
with: | ||
arguments: publishToSonatype | ||
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepositor |
Empty file.
Oops, something went wrong.