Skip to content

Commit

Permalink
fix: adding condition in mix build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatist-ban committed Feb 27, 2024
1 parent 05d94bc commit 417600f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/template-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 417600f

Please sign in to comment.