Skip to content

Commit

Permalink
fix: testing complete flow with enviroment variable and secrets 4
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatist-ban committed Feb 27, 2024
1 parent 8dc92da commit d145fad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/template-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ jobs:
# restore-keys: ${{ runner.os }}-mix-

- name: Install Mix dependencies
if: ${{ (vars.PUBLISH_ARTIFACT == true) && (env.RELEASE_VERSION != '') }}
if: ${{ env.PUBLISH_ARTIFACT == true && env.RELEASE_VERSION != '' }}
run: mix deps.get && mix deps.compile
working-directory: Elixir/Konex
env:
SKIP_GIT_HOOKS: 'true'

- name: Run Mix tests
if: ${{ (vars.PUBLISH_ARTIFACT == true) && (env.RELEASE_VERSION != '') }}
if: ${{ (env.PUBLISH_ARTIFACT == true) && (env.RELEASE_VERSION != '') }}
run: mix test
working-directory: Elixir/Konex

Expand All @@ -125,7 +125,7 @@ jobs:
# email: [email protected]

- name: Publish to HEX
if: ${{ (vars.PUBLISH_ARTIFACT == true) && (env.RELEASE_VERSION != '') }}
if: ${{ (env.PUBLISH_ARTIFACT == true) && (env.RELEASE_VERSION != '') }}
run: mix hex.publish --replace --yes
working-directory: Elixir/Konex
env:
Expand Down

0 comments on commit d145fad

Please sign in to comment.