Skip to content

Changelog for KRIs-0.5.8 #69

Changelog for KRIs-0.5.8

Changelog for KRIs-0.5.8 #69

Workflow file for this run

name: Publish
on:
push:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 1
- name: Validate gradle wrapper
uses: gradle/actions/wrapper-validation@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Cache global .gradle folder
uses: actions/cache@v4
with:
path: ~/.gradle
key: gradle-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/*.kt*') }}-${{ hashFiles('**/*.java') }}
restore-keys: |
gradle-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- name: Setup gradle
uses: gradle/actions/setup-gradle@v4
- name: Configure Git
shell: bash
run: |
git config --global user.name "Urs Joss"
git config --global user.email "[email protected]"
- name: Publish github pages
run: ./gradlew build check :guide:gitPublishPush
env:
GRGIT_USER: ${{ secrets.GRGIT_USER }}
- name: Publish to maven central
run: ./gradlew build check :kris-core:publish :kris-io:publish -x apiCheck
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSPHRASE }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}