diff --git a/.github/workflows/call-maventests.yml b/.github/workflows/call-maventests.yml index acb7928..0d88947 100644 --- a/.github/workflows/call-maventests.yml +++ b/.github/workflows/call-maventests.yml @@ -9,9 +9,7 @@ on: jobs: call-workflow-maven-build: - uses: felleslosninger/eid-github-workflows/.github/workflows/maven-build-lib.yml@main + uses: felleslosninger/github-workflows/.github/workflows/ci-maven-build-lib.yml@main with: java-version: 17 - secrets: - maven-user: ${{ secrets.MAVEN_USER }} - maven-password: ${{ secrets.MAVEN_PASSWORD }} + secrets: inherit diff --git a/.github/workflows/call-release.yml b/.github/workflows/call-release.yml index da66bd9..2905eb8 100644 --- a/.github/workflows/call-release.yml +++ b/.github/workflows/call-release.yml @@ -8,12 +8,10 @@ on: types: [created] jobs: - call-workflow-release: - uses: felleslosninger/eid-github-workflows/.github/workflows/maven-release-lib.yml@main + call-workflow-maven-deploy: + uses: felleslosninger/github-workflows/.github/workflows/ci-maven-deploy.yml@main with: java-version: 17 - secrets: - packages-user: ${{ secrets.CREATE_PACKAGES_USER }} - packages-token: ${{ secrets.CREATE_PACKAGES_TOKEN }} - maven-user: ${{ secrets.MAVEN_USER }} - maven-password: ${{ secrets.MAVEN_PASSWORD }} \ No newline at end of file + package-version: ${{ github.event.release.tag_name }} + deployment-repository: ${{ github.repository }} + secrets: inherit