Skip to content

dependency: Update dependency org.jetbrains.kotlin:kotlin-gradle-plug… #501

dependency: Update dependency org.jetbrains.kotlin:kotlin-gradle-plug…

dependency: Update dependency org.jetbrains.kotlin:kotlin-gradle-plug… #501

Workflow file for this run

name: Publish
on:
push:
branches: [ master ]
jobs:
publish:
runs-on: ubuntu-latest
environment: deployment
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish
run: ./gradlew clean build publish
if: github.repository == 'Rollczi/LiteCommands'
env:
GIT_BRANCH: ${{ github.ref }}
GIT_COMMIT: ${{ github.sha }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
ETERNAL_CODE_MAVEN_USERNAME: ${{ secrets.ETERNAL_CODE_MAVEN_USERNAME }}
ETERNAL_CODE_MAVEN_PASSWORD: ${{ secrets.ETERNAL_CODE_MAVEN_PASSWORD }}