Skip to content

Commit

Permalink
[ci skip] added maven-publish.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Jul 21, 2024
1 parent 33d32cb commit 30b53fa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Maven Publish

on:
release:
types:
- prereleased
- released

jobs:
build:
env:
REPOSITORY_USER: ${{ secrets.REPOSITORY_USER }}
REPOSITORY_TOKEN: ${{ secrets.REPOSITORY_TOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Publish with Gradle to Repository
uses: gradle/actions/setup-gradle@v3
with:
arguments: publish

0 comments on commit 30b53fa

Please sign in to comment.