Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Commit

Permalink
install harness for all steps of CI
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Aug 24, 2020
1 parent 244d42a commit 92dd53e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,16 @@ jobs:
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-build-
- name: Install harness
run: |
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
mix archive.install hex harness 0.0.1 --organization cuatro --force
- name: Fetch mix dependencies
if: steps.deps-cache.outputs.cache-hit != 'true'
run: |
mix local.rebar --force
mix local.hex --force
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
mix deps.get
- name: Compile dependencies
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/refresh-dev-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,16 @@ jobs:
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-build-
- name: Install harness
run: |
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
mix archive.install hex harness 0.0.1 --organization cuatro --force
- name: Fetch mix dependencies
if: steps.deps-cache.outputs.cache-hit != 'true'
run: |
mix local.rebar --force
mix local.hex --force
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
mix deps.get
- name: Compile dependencies
Expand Down

0 comments on commit 92dd53e

Please sign in to comment.