Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dfernandos authored Nov 5, 2023
1 parent 6f1d467 commit 8188952
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ jobs:
distribution: 'temurin'
cache: maven

- name: Set up environment variables
run: echo "export MONGODB_URI=${{ secrets.MONGODB_URI }}" >> $GITHUB_ENV
- name: Setup env variable
with: # Set the secret as an input
MONGODB_URI: ${{ secrets.MONGODB_URI }}
env: # Or as an environment variable
MONGODB_URI: ${{ secrets.MONGODB_URI }}

- name: Debug MONGODB_URI
run: echo "$MONGODB_URI"
Expand Down

0 comments on commit 8188952

Please sign in to comment.