Skip to content

Fix transitive Kotlin dependencies #3

Fix transitive Kotlin dependencies

Fix transitive Kotlin dependencies #3

Workflow file for this run

name: Release for 5.x
on:
push:
branches: [ '5.x' ]
workflow_dispatch:
jobs:
release:
name: Publish release JAR for Kotlin for Forge
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '[Maven]') || github.event_name == 'workflow_dispatch'"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '21'
- name: Checkout site branch
uses: actions/checkout@v4
with:
branch: site
path: site
- name: Update repo
run: |
./gradlew publishAllPublicationsToMavenRepository
cd ./site
git config user.name "thedarkcolour"
git config user.email "[email protected]"
git add .
git diff --staged --quiet || (git commit -m "Update repo" && git push)