Skip to content

Feature/informasjon om saksbehandlingstid pe #59

Feature/informasjon om saksbehandlingstid pe

Feature/informasjon om saksbehandlingstid pe #59

name: Template model generator
on:
workflow_dispatch:
pull_request:
paths:
- "build.gradle.kts"
- "gradle.properties"
- "template-model-generator/**"
- ".github/workflows/template-model-generator.yml"
jobs:
build-template-model-generator:
name: "Build Template Model Generator"
runs-on: "ubuntu-latest"
permissions:
contents: "read"
packages: "read"
id-token: "write"
outputs:
image: ${{ steps.docker-push.outputs.image }}
steps:
- uses: "actions/checkout@v4"
- uses: "gradle/actions/wrapper-validation@v4"
- uses: "actions/cache@v4"
with:
"path": "~/.gradle/caches"
"key": "${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}"
"restore-keys": "${{ runner.os }}-gradle-"
- uses: "actions/setup-java@v4"
with:
"distribution": "temurin"
"java-version": "17"
- name: "compile and run tests"
run: |
./gradlew :template-model-generator:build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}