summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml4
-rw-r--r--.github/workflows/dokka.yaml4
-rw-r--r--.github/workflows/release.yaml8
3 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index b23385b..d706921 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -30,12 +30,12 @@ jobs:
run: ./gradlew ktlintCheck --no-daemon
- name: Build with shadowJar
- run: ./gradlew shadowJar --parallel --no-daemon
+ run: ./gradlew :platform-paper:shadowJar --parallel --no-daemon
- name: Upload build artifact
uses: actions/upload-artifact@v6
if: success()
with:
name: LunaticChat-${{ github.sha }}
- path: build/libs/*-all.jar
+ path: platform-paper/build/libs/*-all.jar
retention-days: 7
diff --git a/.github/workflows/dokka.yaml b/.github/workflows/dokka.yaml
index c02d67b..a8b3c80 100644
--- a/.github/workflows/dokka.yaml
+++ b/.github/workflows/dokka.yaml
@@ -32,13 +32,13 @@ jobs:
run: chmod +x gradlew
- name: Generate JavaDoc with Dokka
- run: ./gradlew dokkaGenerate --no-daemon
+ run: ./gradlew :platform-paper:dokkaGenerate --no-daemon
- name: Upload artifact
id: lunaticchat_dokka
uses: actions/upload-pages-artifact@v4
with:
- path: build/dokka/html
+ path: platform-paper/build/dokka/html
deploy:
environment:
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 8cd9cd6..67fd190 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -18,9 +18,9 @@ jobs:
- name: Extract version from build.gradle.kts
id: get_version
run: |
- VERSION=$(grep '^version = ' build.gradle.kts | sed 's/version = "\(.*\)"/\1/')
+ VERSION=$(grep ' version = ' build.gradle.kts | sed 's/.*version = "\(.*\)"/\1/')
echo "version=$VERSION" >> $GITHUB_OUTPUT
- echo "jar_name=rune-core-$VERSION-all.jar" >> $GITHUB_OUTPUT
+ echo "jar_name=LunaticChat-$VERSION-all.jar" >> $GITHUB_OUTPUT
echo "Extracted version: $VERSION"
- name: Validate tag matches version
@@ -62,13 +62,13 @@ jobs:
run: chmod +x gradlew
- name: Build with shadowJar
- run: ./gradlew shadowJar --parallel --no-daemon
+ run: ./gradlew :platform-paper:shadowJar --parallel --no-daemon
- name: Upload build artifact
uses: actions/upload-artifact@v6
with:
name: LunaticChat-v${{ needs.validate.outputs.version }}
- path: build/libs/${{ needs.validate.outputs.jar_name }}
+ path: platform-paper/build/libs/${{ needs.validate.outputs.jar_name }}
retention-days: 90
release: