From 093c5e4e9bf94721cfb3e425c2d0b0517d363fcc Mon Sep 17 00:00:00 2001 From: Apehum Date: Fri, 27 Oct 2023 04:13:13 +0800 Subject: [PATCH] Build: add maven env to github workflow --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 79a4373..4c4db22 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,3 +52,6 @@ jobs: - name: Publish run: ./gradlew publish --stacktrace + env: + MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}