Installing two neo4j servers (operating on different ports) via yml in GitHub action workflow

how can I install two neo4j 3.5.x servers (operating on different ports) via yml in GitHub action workflow, give them custom username and password and activate them?

in addition, I need to compile my Java project with JDK 14.

My final (and finished) software engineering degree project

My full yml file so far:

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: Set up JDK 14
        uses: actions/setup-java@v1.3.0
        with:
          java-version: 14
      - name: setting testing environment 
        run: |
          wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
          wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo apt-key add -
          echo 'deb https://debian.neo4j.com stable 3.5' | sudo tee -a /etc/apt/sources.list.d/neo4j.list
          echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
          sudo add-apt-repository -y ppa:openjdk-r/ppa
          sudo apt-get update
          sudo apt-get install -y neo4j=1:3.5.19 mongodb-org
          sudo systemctl start mongod
          sudo systemctl status mongod
          sudo service neo4j start
          service neo4j-service status
          
      - name: Build with Maven
        run: mvn -B clean:clean compiler:compile source:jar assembly:single --file pom.xml
      - uses: "marvinpinto/action-automatic-releases@v1.0.0"
        with:
          repo_token: "${{ secrets.GITHUB_TOKEN }}"
          automatic_release_tag: "latest"
          prerelease: true
          title: "Development Build"
          files: |
            /home/runner/work/Model-based-Framework-for-Developing-Multi-Database-Application/Model-based-Framework-for-Developing-Multi-Database-Application/LICENSE.txt
            /home/runner/work/Model-based-Framework-for-Developing-Multi-Database-Application/Model-based-Framework-for-Developing-Multi-Database-Application/target/*.jar