From 093a5ba8bfafc7acd008e08ce831c832ac6bead9 Mon Sep 17 00:00:00 2001 From: "Piotr P. Karwasz" Date: Fri, 23 Feb 2024 23:08:15 +0100 Subject: [PATCH] Try both property and variable --- .github/workflows/build-reusable.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-reusable.yaml b/.github/workflows/build-reusable.yaml index 49aa36d..229503c 100644 --- a/.github/workflows/build-reusable.yaml +++ b/.github/workflows/build-reusable.yaml @@ -53,15 +53,12 @@ jobs: id: build shell: bash run: | - echo $CODECOV_TOKEN ./mvnw \ --show-version --batch-mode --errors --no-transfer-progress \ -DtrimStackTrace=false \ -DinstallAtEnd=true \ -Dgpg.skip \ clean install - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Upload test coverage uses: codecov/codecov-action@0cfda1dd0a4ad9efc75517f399d859cd1ea4ced1 # 4.0.2 @@ -70,6 +67,8 @@ jobs: slug: copernik-eu/log4j-plugins token: ${{ secrets.CODECOV_TOKEN }} verbose: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} # We upload tests results if the build fails. - name: Upload test results