Skip to content

Bump actions/setup-java from 4.4.0 to 4.5.0 (#67) #98

Bump actions/setup-java from 4.4.0 to 4.5.0 (#67)

Bump actions/setup-java from 4.4.0 to 4.5.0 (#67) #98

Workflow file for this run

name: Build Master
on:
push:
branches:
- master
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: Build master
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: gradle/actions/wrapper-validation@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: 'temurin'
java-version: '21'
cache: "gradle"
- name: Build
run: ./gradlew build
- name: Build documentation
run: ./gradlew buildDocumentation
- name: Check repository for commits
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "Build created uncommitted changes in repository"
exit 1
fi
- uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
- uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
path: 'build/dokka/html'
- name: Deploy to Documentation GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5