From b5ff85c276e15fefd992cc6e6744f889ef9aa9b1 Mon Sep 17 00:00:00 2001 From: Andrew Dryga Date: Sun, 22 Jan 2023 22:16:23 -0600 Subject: [PATCH] Rename main branch --- .github/workflows/test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 87728ad05..28754e0e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -216,10 +216,10 @@ jobs: run: mix deps.get --only $MIX_ENV - name: Compile run: mix compile - - name: Download main branch DB dump + - name: Download master branch DB dump id: download-artifact uses: dawidd6/action-download-artifact@v2 - if: "!contains(github.ref, 'main')" + if: "!contains(github.ref, 'master')" with: branch: master name: db-dump @@ -231,7 +231,7 @@ jobs: run: | mix ecto.create - name: Restore DB dump - if: "!contains(github.ref, 'main')" + if: "!contains(github.ref, 'master')" env: PGPASSWORD: postgres run: | @@ -240,7 +240,7 @@ jobs: run: | mix ecto.migrate - name: Dump DB - if: "contains(github.ref, 'main')" + if: "contains(github.ref, 'master')" env: PGPASSWORD: postgres run: | @@ -249,8 +249,8 @@ jobs: --file apps/fz_http/priv/repo/structure.sql \ --no-acl \ --no-owner - - name: Upload main branch DB dump - if: "contains(github.ref, 'main')" + - name: Upload master branch DB dump + if: "contains(github.ref, 'master')" uses: actions/upload-artifact@v3 with: name: db-dump