Skip to content

Commit

Permalink
Create publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceWalkerRS committed Aug 19, 2024
1 parent cad255d commit f488c91
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish
on: [workflow_dispatch] # Manual trigger
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- run: ./gradlew build publish --stacktrace
env:
MAVEN_URL: ${{ secrets.NEW_MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.NEW_MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.NEW_MAVEN_PASSWORD }}

0 comments on commit f488c91

Please sign in to comment.