mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-01 00:10:12 +01:00
4196141db1
* Gradle 7.4.2 * Build changes for MC 1.19 - Updated loom to minor version 0.12 & moved to root project - Updated mappings, command API, fabric API & loader version - Moved Selenium to common module because of a conflict with loom's dependency resolution * Add remap folder to .gitignore * Fix version token replacement * Update to Minecraft 1.19 * Don't forget the pipelines Affects issues: - Fixed #2417
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
# This workflow will build a Java project with Gradle
|
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
|
|
|
name: Automatically Deploy Javadocs
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout 🛎️
|
|
uses: actions/checkout@v2.3.1
|
|
|
|
- name: Set up JDK 1.16 🍵
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: 'adopt'
|
|
java-version: '17'
|
|
- name: Build Javadocs 🔧
|
|
run: |
|
|
cd Plan
|
|
echo "Building javadocs with gradle"
|
|
./gradlew aggregateJavadocs
|
|
echo "Moving to working directory:"
|
|
cd ../
|
|
mkdir javadocs
|
|
mkdir javadocs/all
|
|
mkdir javadocs/api
|
|
cp -r Plan/build/docs/javadoc/* javadocs/all/
|
|
cp -r Plan/api/build/docs/javadoc/* javadocs/api/
|
|
cp scripts/index.html javadocs/index.html
|
|
cd javadocs
|
|
touch .nojekyll
|
|
|
|
- name: Deploy 🚀
|
|
uses: JamesIves/github-pages-deploy-action@4.1.4
|
|
with:
|
|
branch: gh-pages # The branch the action should deploy to.
|
|
folder: javadocs # The folder the action should deploy.
|
|
|
|
|
|
|