Skip to content

8.2.2

8.2.2 #13

Workflow file for this run

name: Publish Release
on:
release:
types: [ created ]
jobs:
publish:
runs-on: ubuntu-latest
env:
ORG_GRADLE_PROJECT_freefairBuildCachePassword: ${{ secrets.BUILD_CACHE_PASSWORD }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
- name: Publish package
run: ./gradlew --no-parallel publishPlugins uploadDocumentation -Psigning.secretKeyRingFile=$GITHUB_WORKSPACE/secring.gpg -Psigning.password=$SIGNING_PASSWORD -Psigning.keyId=$SIGNING_KEY_ID
env:
SIGNING_KEY_ID: ${{ secrets.FREEFAIR_SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.FREEFAIR_SIGNING_PASSWORD }}
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
ORG_GRADLE_PROJECT_freefairDocsUser: ${{ secrets.FREEFAIR_DOCS_USER }}
ORG_GRADLE_PROJECT_freefairDocsPass: ${{ secrets.FREEFAIR_DOCS_PASS }}