Skip to content

Commit

Permalink
Use wsl to start docker on windows with setup-wsl
Browse files Browse the repository at this point in the history
  • Loading branch information
davecramer committed Apr 25, 2024
1 parent 4dabad7 commit 3dc67d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,13 @@ jobs:
# The below run command is long, however, it is intentional, and it makes the output nicer in GitHub UI
run: |
echo 'Starting PostgreSQL via docker-compose down; PGV=${{ matrix.pg_version }} TZ=${{ matrix.server_tz }} XA=${{ matrix.xa }} SSL=${{ matrix.ssl }} SCRAM=${{ matrix.scram }} CREATE_REPLICAS=${{ matrix.replication }} docker-compose up'
docker-compose down -v --rmi local || true
sed -i -r '/- (543[3-4]):\1/d' docker-compose.yml
docker-compose up -d
docker-compose logs
- name: Start PostgreSQL Windows
if: ${{ matrix.os == 'windows-latest' }}
uses: Vampire/setup-wsl@v3
shell: wsl-bash {0}
working-directory: docker/postgres-server
env:
Expand Down

0 comments on commit 3dc67d8

Please sign in to comment.