Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Gh-1072: Update Javadoc workflow #1073

Merged
merged 2 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
autopep8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: autopep8
id: autopep8
uses: peter-evans/autopep8@v1
Expand All @@ -39,16 +39,16 @@ jobs:
check-all-modules-are-tested:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Check all modules are tested
run: ./cd/check_modules.sh

python-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
fetch-depth: 0

- name: Setup JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-alpha-release-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout v2-alpha
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: v2-alpha
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-hotfix-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout master
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: master
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout develop
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: develop
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'

- name: Checkout Branch
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Decode CodeSigning key
env:
Expand Down
26 changes: 14 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:

steps:
- name: Setup JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'

- name: Checkout master
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: master
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
run: echo "MASTER_BRANCH=master" >> $GITHUB_ENV

- name: Checkout master
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ env.MASTER_BRANCH }}
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
run: echo "DEVELOP_BRANCH=v2-alpha" >> $GITHUB_ENV

- name: Checkout develop
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: develop
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
Expand All @@ -104,7 +104,7 @@ jobs:
git config user.email github-actions@github.com

- name: Setup JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
Expand All @@ -131,7 +131,7 @@ jobs:

steps:
- name: Checkout Master
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: master

Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:

steps:
- name: Checkout Master
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: master
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
Expand All @@ -173,10 +173,10 @@ jobs:
git config user.email github-actions@github.com

- name: Setup JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
java-version: '11'
t92549 marked this conversation as resolved.
Show resolved Hide resolved

- name: Set version
run: echo "RELEASE_VERSION=$(echo ${{ github.event.milestone.title }} | cut -c 2-)" >> $GITHUB_ENV
Expand All @@ -186,9 +186,11 @@ jobs:
git remote set-branches --add origin gh-pages
git pull
mvn -q clean install -Pquick -Dskip.jar-with-dependencies=true -Dshaded.jar.phase=true
mvn -q javadoc:javadoc -Pquick
mvn -q javadoc:aggregate
git checkout gh-pages
rm -rf uk
rm -rf jquery
rm -rf resources
mv target/site/apidocs/* .
git add .
git commit -a -m "Updated javadoc - $RELEASE_VERSION"
Expand All @@ -201,13 +203,13 @@ jobs:

steps:
- name: Setup JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'

- name: Checkout release
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ needs.create-release-tag.outputs.branch_name }}

Expand Down