From b21ae1dcfd8c6d0cbfb9571bfb636c96eaee5d23 Mon Sep 17 00:00:00 2001 From: Nils Homer Date: Wed, 31 Jul 2024 00:53:49 -0700 Subject: [PATCH] Fix snapshot releases Sonatype now uses tokens, and we need to use the github-actions environment to get to the secrets --- .github/workflows/unittests.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index aa3e373e5..9669564a2 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -44,6 +44,7 @@ jobs: needs: test runs-on: ubuntu-latest + environment: github-actions env: SONATYPE_USER: ${{ secrets.SONATYPE_USER }} SONATYPE_PASS: ${{ secrets.SONATYPE_PASS }}