Skip to content

Commit

Permalink
Create beta-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
teogor committed Feb 27, 2024
1 parent bd881b3 commit 0d78b70
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/beta-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Beta Publish

on:
workflow_dispatch:

jobs:
publish:
name: Snapshot build and publish
runs-on: ubuntu-latest
environment: PRODUCTION
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
steps:
- name: Check out code
uses: actions/checkout@v3.1.0

- name: Set up JDK 17
uses: actions/setup-java@v3.5.1
with:
distribution: 'zulu'
java-version: 17

- name: Grant Permission to Execute Gradle
run: chmod +x gradlew

- name: Publish to MavenCentral
run: |
./gradlew :publish --no-configuration-cache

0 comments on commit 0d78b70

Please sign in to comment.