Merge branch 'fabric' into fabric-snapshot

This commit is contained in:
samo_lego 2020-08-11 19:18:34 +02:00
commit 6d6720ffd8
1 changed files with 35 additions and 0 deletions

35
.github/workflows/javadoc.yml vendored Normal file
View File

@ -0,0 +1,35 @@
# 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: Java CI with Gradle
on:
push:
branches: [ fabric ]
pull_request:
branches: [ fabric ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew javadoc
- name: GitHub Pages Javadoc
if: success()
uses: crazy-max/ghaction-github-pages@v1.4.0
with:
build_dir: build/docs/javadoc
target_branch: gh-pages
keep_history: false
env:
GITHUB_PAT: ${{ secrets.pat }}