From e74b9f4d91ff79889caa2f09234f98a8c2a54fd5 Mon Sep 17 00:00:00 2001 From: Kari Barry Date: Wed, 13 Dec 2023 15:20:16 -0500 Subject: [PATCH] =?UTF-8?q?CI=20was=20not=20being=20executed=20sequentiall?= =?UTF-8?q?y=20=E2=98=91=E2=86=92=E2=98=91=E2=A4=B4=F0=9F=85=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-files.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-files.yml b/.github/workflows/publish-files.yml index bd2731d..7d1eff7 100644 --- a/.github/workflows/publish-files.yml +++ b/.github/workflows/publish-files.yml @@ -27,17 +27,21 @@ jobs: docker run -d --rm --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=secret -d docker.io/postgres docker ps - - name: Run Tiled commands. + - name: Run Tiled commands + id: tiled shell: bash -l {0} run: source scripts/run_tiled.sh env: # Specify Database Connection TILED_TEST_POSTGRESQL_URI: postgresql+asyncpg://postgres:secret@localhost:5432 - - name: Dump sql data into binary format + - name: Dump sql data into binary format when generator finishes + id: save + if: steps.tiled.conclusion == 'success' run: docker exec -i postgres /bin/bash -c "PGPASSWORD=secret pg_dump --username postgres postgres" > tiled_test_db_pg.sql - name: Publish .sql files to github release with action + if: steps.save.conclusion == 'success' uses: softprops/action-gh-release@v1 with: files: |