Skip to content

GH-488 Update sponsors.yml (#488) #500

GH-488 Update sponsors.yml (#488)

GH-488 Update sponsors.yml (#488) #500

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 }}