You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Github action for maven spring boot fails on "Build with maven" with error:
org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
My application.properties regarding the connection are: spring.datasource.url=jdbc:postgresql://localhost:5432/postgres spring.datasource.driverClassName=org.postgresql.Driver spring.datasource.username=postgres spring.datasource.password=admin
Github action for maven spring boot fails on "Build with maven" with error:
My application.properties regarding the connection are:
spring.datasource.url=jdbc:postgresql://localhost:5432/postgres spring.datasource.driverClassName=org.postgresql.Driver spring.datasource.username=postgres spring.datasource.password=admin
My maven.yml:
steps: - uses: actions/checkout@v1 - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8 - name: Build with Maven run: mvn -B package --file pom.xml - name: Setup PostgreSQL uses: Harmon758/postgresql-action@v1.0.0 with: postgresql db: postgres postgresql user: postgres postgresql password: admin
Everything works correctly when ran locally of course.
The text was updated successfully, but these errors were encountered: