From c0b243d1864e6e66490a83124d64118e60fa745c Mon Sep 17 00:00:00 2001 From: Timur Zununbekov Date: Mon, 26 Feb 2024 17:38:39 +0600 Subject: [PATCH] Pass Maven auth creds --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5b01b6026..f74a376f30 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,9 @@ env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_EC2_METADATA_DISABLED: true + MAVEN_USER: ${{ secrets.MAVEN_USER }} + MAVEN_PASS: ${{ secrets.MAVEN_PASS }} + MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }} jobs: release-nightly: @@ -131,6 +134,7 @@ jobs: post-release: runs-on: ubuntu-latest + if: github.ref_type == 'tag' needs: [release-tag] steps: