Skip to content

Commit

Permalink
add dry run publishing action
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMcCloud committed Aug 14, 2023
1 parent 491d497 commit 52e9833
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/publish-dry-run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish Dry Run
on: workflow_dispatch
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Publish to Maven Local
run: ./gradlew clean publishToMavenLocal
env:
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.PUBLISH_SIGNING_KEYID }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.PUBLISH_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.PUBLISH_SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.PUBLISH_SONATYPE_USER }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.PUBLISH_SONATYPE_PASSWORD }}
deploy-docs:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Build Dokka HTML
run: ./gradlew dokkaHtmlMultiModule

0 comments on commit 52e9833

Please sign in to comment.