diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 32177ec1..72357cba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -70,14 +70,14 @@ jobs: os: [ ubuntu-latest, macos-latest, windows-latest ] name: Maven on ${{ matrix.os }} runs-on: ${{ matrix.os }} + env: + MAVEN_SPACE_PASSWORD: ${{ secrets.MAVEN_SPACE_PASSWORD }} + MAVEN_SPACE_USERNAME: ${{ secrets.MAVEN_SPACE_USERNAME }} steps: - uses: actions/checkout@v4 with: submodules: true - uses: gradle/gradle-build-action@v3 - env: - MAVEN_SPACE_PASSWORD: ${{ secrets.MAVEN_SPACE_PASSWORD }} - MAVEN_SPACE_USERNAME: ${{ secrets.MAVEN_SPACE_USERNAME }} - name: Set up JDK 11 uses: actions/setup-java@v4 with: @@ -140,6 +140,9 @@ jobs: gradle-version: [ '7.6.4', '8.6' ] name: Version Catalog ${{ matrix.gradle-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} + env: + MAVEN_SPACE_PASSWORD: ${{ secrets.MAVEN_SPACE_PASSWORD }} + MAVEN_SPACE_USERNAME: ${{ secrets.MAVEN_SPACE_USERNAME }} outputs: result: ${{ steps.final_step.outputs.result }} steps: @@ -147,9 +150,6 @@ jobs: with: submodules: true - uses: gradle/gradle-build-action@v3 - env: - MAVEN_SPACE_PASSWORD: ${{ secrets.MAVEN_SPACE_PASSWORD }} - MAVEN_SPACE_USERNAME: ${{ secrets.MAVEN_SPACE_USERNAME }} - name: Set up JDK 11 uses: actions/setup-java@v4 with: