Skip to content

Commit d243533

Browse files
committed
feat: add environment variable setup in GitHub Actions workflow
1 parent ce46466 commit d243533

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/spring.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,18 @@ jobs:
2222
distribution: 'temurin'
2323
cache: maven
2424

25+
- name: Set up environment variables
26+
run: echo "Connecting with the password..."
27+
env:
28+
NEO4J_URI: ${{ secrets.NEO4J_URI }}
29+
NEO4J_USERNAME: ${{ secrets.NEO4J_USERNAME }}
30+
NEO4J_PASSWORD: ${{ secrets.NEO4J_PASSWORD }}
31+
2532
- name: Compile the project
2633
run: mvn compile
2734

2835
- name: Run test case
2936
run: mvn test
3037

3138
- name: Build with Maven
32-
run: mvn clean install package
33-
39+
run: mvn clean install package

0 commit comments

Comments
 (0)