Skip to content

Commit

Permalink
[fix] echo .env before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
weichbot10 committed Dec 14, 2021
1 parent 7dcc3ba commit 4278514
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}"
Expand Down

0 comments on commit 4278514

Please sign in to comment.