Skip to content

Deploy to Maven Repository by @webhead1104 #169

Deploy to Maven Repository by @webhead1104

Deploy to Maven Repository by @webhead1104 #169

Workflow file for this run

name: Build Pull Request
run-name: Deploy to Maven Repository by @${{ github.actor }}
env:
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
env:
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
# - run: chmod +x gradlew
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Publish
run: ./gradlew -Dorg.gradle.jvmargs=--enable-preview publish
env:
REPO_USERNAME: ${{ secrets.REPO_USERNAME }}
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}