From 4278514bee99249e0f5d692aadb8628ecacf41ae Mon Sep 17 00:00:00 2001 From: weichbot10 Date: Tue, 14 Dec 2021 22:23:48 +0000 Subject: [PATCH] [fix] echo .env before running tests --- .github/workflows/release.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d7dd0eb..8478c24 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,6 +26,10 @@ jobs: distribution: 'adopt' java-version: '17' cache: 'maven' + - run: 'echo "$ENV" > .env' + shell: bash + env: + ENV: ${{secrets.ENV}} - run: mvn -B test --file pom.xml # CREATE TAG AND UPDATE POM.XML create-tag: @@ -49,6 +53,10 @@ jobs: distribution: 'adopt' java-version: '17' cache: 'maven' + - run: 'echo "$ENV" > .env' + shell: bash + env: + ENV: ${{secrets.ENV}} # increase /project/version of pom.xml - name: increase version in pom.xml run: mvn versions:set -DnewVersion="${{ github.event.inputs.tag }}"