Skip to content

enkel fagsystemid validering + send sakstype til pdfgen #5037

enkel fagsystemid validering + send sakstype til pdfgen

enkel fagsystemid validering + send sakstype til pdfgen #5037

Workflow file for this run

name: Build non-master/main branches on push.
# If you want to deploy your branch see branch-deploy.yml
on:
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
- '!master' # excludes master
- '!main' # excludes main (will probably replace master)
paths-ignore:
- '.github/workflows/datapakker.yml'
- '.github/workflows/codeql.yml'
- '.github/workflows/alerts-deploy.yml'
- 'datapakker/**'
env:
IMAGE: ghcr.io/${{ github.repository }}/su-se-bakover:${{ github.sha }}
jobs:
build:
name: Run Gradle test and build steps
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle.properties', 'settings.gradle.kts', '**/build.gradle.kts', 'gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'temurin'
- name: test and build
run: ./gradlew --no-build-cache test build
env:
ORG_GRADLE_PROJECT_githubUser: x-access-token
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}