Legger til overgangsordning 2024 i kontrakter #223
Workflow file for this run
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: | |
workflow_dispatch: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
build-and-deploy-artifact: | |
name: Build and deploy to github package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v1 | |
- name: Set up JDK 1.11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.11 | |
- name: Cache Maven dependencies | |
uses: actions/cache@preview | |
id: cache | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Resolve/Update Dependencies | |
run: mvn package dependency:resolve-plugins dependency:go-offline | |
- name: Build (and run tests) | |
run: mvn clean install |