From f0829f7f94674b5d0f4c4ace04108087f9d37845 Mon Sep 17 00:00:00 2001 From: Chris Patterson Date: Mon, 19 Aug 2019 10:34:32 -0400 Subject: [PATCH 1/2] Update postgres-service.yml --- .github/workflows/postgres-service.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/postgres-service.yml b/.github/workflows/postgres-service.yml index 84aa1ea..f5214a1 100644 --- a/.github/workflows/postgres-service.yml +++ b/.github/workflows/postgres-service.yml @@ -29,6 +29,10 @@ jobs: steps: - uses: actions/checkout@v1 + - run: echo $JOB_CONTEXT + env: + JOB_CONTEXT: ${{ job }} + - run: npm ci working-directory: ./postgres - run: node client.js @@ -64,4 +68,4 @@ jobs: # use postgres for the host here because we have specified a contaienr for the job. # If we were running the job on the VM this would be localhost POSTGRES_HOST: localhost - POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }} \ No newline at end of file + POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }} From df1c86e7bce9b51c290af5faca5e190708fa3b05 Mon Sep 17 00:00:00 2001 From: Chris Patterson Date: Mon, 19 Aug 2019 10:38:00 -0400 Subject: [PATCH 2/2] Update postgres-service.yml --- .github/workflows/postgres-service.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/postgres-service.yml b/.github/workflows/postgres-service.yml index f5214a1..0dde429 100644 --- a/.github/workflows/postgres-service.yml +++ b/.github/workflows/postgres-service.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v1 - run: echo $JOB_CONTEXT env: - JOB_CONTEXT: ${{ job }} + JOB_CONTEXT: ${{ toJson(job) }} - run: npm ci working-directory: ./postgres