mirror of
https://github.com/kiwix/java-libkiwix.git
synced 2025-09-15 18:17:06 -04:00
Add badge for the continuous deployment
This commit is contained in:
parent
99d3c07dcb
commit
8f58782027
36
.github/workflows/publish.yml
vendored
36
.github/workflows/publish.yml
vendored
@ -1,36 +0,0 @@
|
||||
name: Publish to Maven Central
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: adopt
|
||||
java-version: 11
|
||||
|
||||
- name: Install dependencies
|
||||
run: bash ./install_deps.sh
|
||||
|
||||
- name: Compile and prepare package
|
||||
run: ./gradlew buildHeaders build assemble androidSourcesJar
|
||||
|
||||
- name: Publish
|
||||
run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository
|
||||
if: github.event_name == 'release'
|
||||
env:
|
||||
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
|
||||
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
|
||||
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
|
||||
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
|
||||
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
|
||||
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
|
@ -5,6 +5,7 @@ Library for accessing [libkiwix](https://github.com/kiwix/libkiwix) and [libzim]
|
||||
|
||||
[](https://search.maven.org/artifact/org.kiwix/libkiwix)
|
||||
[](https://github.com/kiwix/java-libkiwix/actions?query=workflow%3ACI+branch%3Amain)
|
||||
[](https://github.com/kiwix/java-libkiwix/actions?query=workflow%3ACD+branch%3Amain)
|
||||
[](https://www.codefactor.io/repository/github/kiwix/java-libkiwix)
|
||||
[](https://codecov.io/gh/kiwix/java-libkiwix)
|
||||
[](https://www.gnu.org/licenses/gpl-3.0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user