From ba11bfee9e30c6be4d2d9ebd89d23bbf7de5c4dd Mon Sep 17 00:00:00 2001 From: Nils Homer Date: Wed, 31 Jul 2024 00:54:27 -0700 Subject: [PATCH] Fix snapshot releases (#1004) 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 }}