-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (46 loc) · 1.1 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Bygg og prepare release
on:
push:
branches:
- '**'
paths-ignore:
- '**.md'
- '**.MD'
- '.editorconfig'
- '.gitignore'
- '.java-version'
- 'LICENSE'
- 'CODEOWNERS'
- 'docs/**'
- '.github/*.yml'
jobs:
build:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: "0"
- name: Setup java and maven
uses: navikt/fp-gha-workflows/.github/actions/setup-java-and-maven@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
java-version: '17'
- name: Verify
shell: bash
run: |
mvn verify -e -B -s settings.xml
- name: Verify EE10
shell: bash
run: |
mvn verify -e -B -s settings.xml -f ./ee10/pom.xml
release-drafter:
name: Update
permissions:
contents: write
pull-requests: read
if: github.ref_name == 'master'
needs: build
uses: navikt/fp-gha-workflows/.github/workflows/release-drafter.yml@main
secrets: inherit