diff --git a/.github/workflows/template-main.yml b/.github/workflows/template-main.yml index 480c8b9..a084837 100644 --- a/.github/workflows/template-main.yml +++ b/.github/workflows/template-main.yml @@ -77,14 +77,14 @@ jobs: echo "RELEASE_VERSION=$(git tag | sort --version-sort | tail -n1 | tr -d 'v')" >> $GITHUB_ENV - name: Install Mix dependencies - if: ${{ ( env.PUBLISH_ARTIFACT == 'true' ) }} + if: ${{ ( env.PUBLISH_ARTIFACT == 'true' ) || ( env.COMMIT_PUSH == 'true' ) }} run: mix deps.get && mix deps.compile working-directory: Elixir/Konex env: SKIP_GIT_HOOKS: 'true' - name: Run Mix tests - if: ${{ ( env.PUBLISH_ARTIFACT == 'true' ) }} + if: ${{ ( env.PUBLISH_ARTIFACT == 'true' ) || ( env.COMMIT_PUSH == 'true' ) }} run: mix test working-directory: Elixir/Konex