Skip to content

Commit

Permalink
Bygge kun kontrakter under publiseringsjobb. Sett riktig maven url
Browse files Browse the repository at this point in the history
  • Loading branch information
geiralund committed Dec 20, 2023
1 parent c8c3dc2 commit 91cf9bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -25,7 +27,7 @@ jobs:
with:
gradle-version: wrapper
dependency-graph: generate-and-submit
arguments: --configuration-cache test
arguments: --configuration-cache :dp-inntekt-kontrakter:test


release:
Expand Down Expand Up @@ -60,7 +62,7 @@ jobs:
java-version: 17.x
cache: 'gradle'
- name: publish
run: ./gradlew -Pversion="$(echo ${{ needs.release.outputs.tag }})" publish
run: ./gradlew -Pversion="$(echo ${{ needs.release.outputs.tag }})" :dp-inntekt-kontrakter:publish
env:
ORG_GRADLE_PROJECT_githubUser: x-access-token
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion dp-inntekt-kontrakter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ publishing {

repositories {
maven {
url = uri("https://maven.pkg.github.com/navikt/dp-inntekt-kontrakter")
url = uri("https://maven.pkg.github.com/navikt/dp-inntekt")
credentials {
username = githubUser
password = githubPassword
Expand Down

0 comments on commit 91cf9bc

Please sign in to comment.