Skip to content

Commit

Permalink
Use wsl to start docker on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
davecramer committed Apr 25, 2024
1 parent 918e64a commit f5b57c5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,16 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 50
- name: Start PostgreSQL
- name: Start PostgreSQL Ubuntu
if: ${{ matrix.os == 'ubuntu-latest' }}
working-directory: docker/postgres-server
run: docker-compose up -d && docker-compose logs
- name: Start PostgreSQL Windows
if: ${{ matrix.os == 'windows-latest' }}
shell: wslbash
working-directory: docker/postgres-server
run: docker-compose up -d && docker-compose logs

- name: 'Set up JDK 17'
uses: actions/setup-java@v3
with:
Expand Down

0 comments on commit f5b57c5

Please sign in to comment.