From 07d543af5a9b0352d7253eeaab48b48682478cb9 Mon Sep 17 00:00:00 2001 From: Andrey Popp <8mayday@gmail.com> Date: Sun, 11 Oct 2020 18:47:50 +0300 Subject: [PATCH] ci --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f501a41..7350087 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,14 +20,13 @@ jobs: name: Build Environment needs: changes runs-on: ubuntu-latest + if: ${{ needs.changes.outputs.env == 'true' }} steps: - name: Check out the repo uses: actions/checkout@v2 - if: ${{ needs.changes.outputs.env == 'true' }} - name: Push to GitHub Packages uses: docker/build-push-action@v1 - if: ${{ needs.changes.outputs.env == 'true' }} with: path: ./env username: ${{ github.actor }} @@ -41,6 +40,7 @@ jobs: name: Run Tests runs-on: ubuntu-latest needs: build_env + if: "always()" steps: - name: Docker login