Skip to content

Commit 10c41de

Browse files
committed
ci: use image hack to make conditional
1 parent a87e713 commit 10c41de

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/test-projects.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ jobs:
5050
elixir: ["1.18.1"]
5151
services:
5252
pg:
53-
if: ${{matrix.project.postgres}}
54-
image: postgres:16
53+
image: ${{ (matrix.project.postgres) && 'postgres:16' || '' }}
5554
env:
5655
POSTGRES_USER: postgres
5756
POSTGRES_PASSWORD: postgres

0 commit comments

Comments
 (0)