From d25a84487dd5b32ebba5112a7d51081162b6ab26 Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Mon, 30 Nov 2020 15:41:51 -0800 Subject: [PATCH] Fix GitHub Actions-based snapshot deployment Fixes https://github.com/google/google-java-format/issues/547 PiperOrigin-RevId: 344903246 --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 468d9e99f..a14629ff8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,4 +80,7 @@ jobs: server-username: CI_DEPLOY_USERNAME server-password: CI_DEPLOY_PASSWORD - name: 'Publish' + env: + CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }} + CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }} run: mvn source:jar deploy -B -DskipTests=true -Dinvoker.skip=true -Dmaven.javadoc.skip=true