Skip to content

Commit

Permalink
Add env var
Browse files Browse the repository at this point in the history
  • Loading branch information
pushkarnk committed Jul 31, 2024
1 parent 54830cf commit 23361cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
pull_request:
branches: [ "**" ]

env:
OPENSSL_MODULES: /usr/local/lib64/ossl-modules/

jobs:
build:

Expand All @@ -34,9 +37,7 @@ jobs:
sudo mkdir -p /usr/local/ssl
sudo cp ${{ github.workspace }}/test/conf/openssl.cnf /usr/local/ssl/openssl.cnf
- name: Build with Maven
run: |
echo "OPENSSL_MODULES=/usr/local/lib64/ossl-modules/" >> $GITHUB_ENV
mvn -B package --file pom.xml
run: mvn -B package --file pom.xml
continue-on-error: true
- name: Upload logfile
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 23361cd

Please sign in to comment.