Merge pull request #3311 from navikt/feature/dolly-konfetti #13871
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'navikt/**' | |
- '.github/**' | |
- '.nais/alerting-dolly.yml' | |
pull_request: | |
types: [ assigned, opened, synchronize, reopened ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v3 | |
- name: "Git" | |
run: git fetch --unshallow | |
- name: "Java" | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: "Gradle" | |
env: | |
NAV_TOKEN: ${{ secrets.NAV_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_USERNAME: ${{ secrets.GITHUB_USERNAME }} | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build --scan | |
cache-read-only: false |