-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge the rest of hsfs GitHub Actions
- Loading branch information
Showing
7 changed files
with
50 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: mkdocs-release | |
|
||
on: | ||
push: | ||
branches: [branch-*\.*] | ||
branches: [branch-*] | ||
|
||
jobs: | ||
publish-release: | ||
|
@@ -26,16 +26,33 @@ jobs: | |
|
||
- name: install deps | ||
working-directory: ./python | ||
run: cp ../README.md . && pip3 install -r ../requirements-docs.txt && pip3 install -e .[dev] | ||
run: cp ../README.md . && pip3 install -r ../requirements-docs.txt && pip3 install -e .[python,dev] | ||
|
||
- name: generate autodoc | ||
run: python3 auto_doc.py | ||
|
||
- name: Cache local Maven repository | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('java/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-maven- | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: "8" | ||
distribution: "adopt" | ||
|
||
- name: Build java doc documentation | ||
working-directory: ./java | ||
run: mvn clean install javadoc:javadoc javadoc:aggregate -DskipTests && cp -r target/site/apidocs ../docs/javadoc | ||
|
||
- name: setup git | ||
run: | | ||
git config --global user.name Mike | ||
git config --global user.email [email protected] | ||
- name: mike deploy docs | ||
run: | | ||
mike deploy ${{ env.RELEASE_VERSION }} ${{ env.MAJOR_VERSION }} -u --push | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.