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