Skip to content

Bump actions/upload-artifact from 3.pre.node20 to 4.3.3 (#9) #44

Bump actions/upload-artifact from 3.pre.node20 to 4.3.3 (#9)

Bump actions/upload-artifact from 3.pre.node20 to 4.3.3 (#9) #44

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@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
egress-policy: audit
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: gradle/actions/wrapper-validation@db19848a5fa7950289d3668fb053140cf3028d43 # v3.3.2
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: 'temurin'
java-version: '17'
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@b8130d9ab958b325bbde9786d62f2c97a9885a0e # v3.0.7
- 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