Skip to content

Update Develocity to 3.18 #98

Update Develocity to 3.18

Update Develocity to 3.18 #98

Workflow file for this run

name: Gradle Build
on:
pull_request:
push:
branches:
- 'main'
workflow_dispatch:
concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: false
jobs:
gradle-build:
name: Gradle Build
runs-on: ubuntu-latest
env:
DEPENDENCY_GRAPH_EXCLUDE_PROJECTS: ':(gradm|initialization|project)'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
dependency-graph: generate-and-upload
- run: ./gradlew build --no-daemon --stacktrace
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./wwm/web/build/dist/wasmJs/productionExecutable
gradle-submit-dependency-graph:
name: Gradle Submit Dependency Graph
uses: OmicoDev/gradle-project-initializer-template/.github/workflows/gradle-submit-dependency-graph.yml@main
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
needs: gradle-build
permissions:
contents: write
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
needs: gradle-build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v4