Skip to content

Commit

Permalink
Merge pull request #27 from outfoxx/task/cleanup-rel-workflow
Browse files Browse the repository at this point in the history
Cleanup release workflow and README
  • Loading branch information
kdubb authored Dec 6, 2022
2 parents 65686b2 + a3cd01a commit 7715b52
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,36 @@ jobs:
properties: |
releaseVersion=${{ github.ref_name }}
- name: Publish Release
- name: Publish Maven Release
uses: burrunan/gradle-cache-action@v1
env:
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
with:
job-id: jdk11-build-test
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository githubRelease -x test
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository -x test
properties: |
releaseVersion=${{ github.ref_name }}
sonatypeUsername=${{ secrets.OSSRH_USER }}
sonatypePassword=${{ secrets.OSSRH_PASS }}
github.token=${{ secrets.GITHUB_TOKEN }}
- name: Publish Documentation
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
clean: false
folder: build/dokka

- name: Publish GitHub Release
uses: burrunan/gradle-cache-action@v1
env:
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
with:
job-id: jdk11-build-test
arguments: githubRelease -x test
properties: |
releaseVersion=${{ github.ref_name }}
github.token=${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Sunday 🙏 The framework of REST for Kotlin

![GitHub Workflow Status](https://img.shields.io/github/workflow/status/outfoxx/sunday-kt/CI)
![Coverage](https://sonarcloud.io/api/project_badges/measure?project=outfoxx_sunday-kt&metric=coverage)
![Maven Central](https://img.shields.io/maven-central/v/io.outfoxx.sunday/sunday.svg)
![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/oss.sonatype.org/io.outfoxx.sunday/sunday.svg)
![Maven Central](https://img.shields.io/maven-central/v/io.outfoxx.sunday/sunday-core.svg)
![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/https/oss.sonatype.org/io.outfoxx.sunday/sunday-core.svg)

Kotlin framework for generated REST clients.

Expand Down

0 comments on commit 7715b52

Please sign in to comment.