File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 9
9
build :
10
10
name : Build
11
11
runs-on : ubuntu-latest
12
+ permissions :
13
+ contents : write
12
14
steps :
13
15
- name : Checkout code
14
16
uses : actions/checkout@v4
25
27
with :
26
28
gradle-version : wrapper
27
29
dependency-graph : generate-and-submit
28
- arguments : --configuration-cache test
30
+ arguments : --configuration-cache :dp-inntekt-kontrakter: test
29
31
30
32
31
33
release :
60
62
java-version : 17.x
61
63
cache : ' gradle'
62
64
- name : publish
63
- run : ./gradlew -Pversion="$(echo ${{ needs.release.outputs.tag }})" publish
65
+ run : ./gradlew -Pversion="$(echo ${{ needs.release.outputs.tag }})" :dp-inntekt-kontrakter: publish
64
66
env :
65
67
ORG_GRADLE_PROJECT_githubUser : x-access-token
66
68
ORG_GRADLE_PROJECT_githubPassword : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ publishing {
20
20
21
21
repositories {
22
22
maven {
23
- url = uri(" https://maven.pkg.github.com/navikt/dp-inntekt-kontrakter " )
23
+ url = uri(" https://maven.pkg.github.com/navikt/dp-inntekt" )
24
24
credentials {
25
25
username = githubUser
26
26
password = githubPassword
You can’t perform that action at this time.
0 commit comments