diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 51a07a5..b618f65 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -27,6 +27,6 @@ jobs: with: arguments: publish env: - MAVEN_USERNAME: ${{ secrets.REPOSITORY_USER }} - MAVEN_PASSWORD: ${{ secrets.REPOSITORY_PASSWORD }} + AW_REPO_USERNAME: ${{ secrets.REPOSITORY_USER }} + AW_REPO_PASSWORD: ${{ secrets.REPOSITORY_PASSWORD }} SNAPSHOT: false \ No newline at end of file diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 3d98371..569a84a 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -25,6 +25,6 @@ jobs: with: arguments: publish env: - MAVEN_USERNAME: ${{ secrets.REPOSITORY_USER }} - MAVEN_PASSWORD: ${{ secrets.REPOSITORY_PASSWORD }} + AW_REPO_USERNAME: ${{ secrets.REPOSITORY_USER }} + AW_REPO_PASSWORD: ${{ secrets.REPOSITORY_PASSWORD }} SNAPSHOT: true \ No newline at end of file diff --git a/build.gradle b/build.gradle index 65fa2a0..bf53a95 100644 --- a/build.gradle +++ b/build.gradle @@ -48,8 +48,8 @@ subprojects { url = isSnapshot ? snapshot : release credentials { - username = System.getenv("MAVEN_USERNAME") - password = System.getenv("MAVEN_PASSWORD") + username = System.getenv("AW_REPO_USERNAME") + username = System.getenv("AW_REPO_PASSWORD") } metadataSources {