Skip to content

Commit

Permalink
feat: clean dependencies on reruns
Browse files Browse the repository at this point in the history
  • Loading branch information
btkostner authored Oct 2, 2023
1 parent 315526d commit d314cdc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,13 @@ runs:
--auth-key "${{ inputs.oban-token }}"
shell: bash

- if: steps.cache.outputs.cache-hit != 'true'
- if: github.run_attempt != '1'
name: Clean Dependencies
run: |
mix deps.clean --all
mix clean
- if: github.run_attempt != '1' || steps.cache.outputs.cache-hit != 'true'
name: Install Dependencies
run: mix deps.get
shell: bash

0 comments on commit d314cdc

Please sign in to comment.