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

Commit 92dd53e

Browse files
committed
install harness for all steps of CI
1 parent 244d42a commit 92dd53e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/ci.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,16 @@ jobs:
117117
restore-keys: |
118118
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-build-
119119
120+
- name: Install harness
121+
run: |
122+
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
123+
mix archive.install hex harness 0.0.1 --organization cuatro --force
124+
120125
- name: Fetch mix dependencies
121126
if: steps.deps-cache.outputs.cache-hit != 'true'
122127
run: |
123128
mix local.rebar --force
124129
mix local.hex --force
125-
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
126130
mix deps.get
127131
128132
- name: Compile dependencies

.github/workflows/refresh-dev-cache.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,16 @@ jobs:
6969
restore-keys: |
7070
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-build-
7171
72+
- name: Install harness
73+
run: |
74+
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
75+
mix archive.install hex harness 0.0.1 --organization cuatro --force
76+
7277
- name: Fetch mix dependencies
7378
if: steps.deps-cache.outputs.cache-hit != 'true'
7479
run: |
7580
mix local.rebar --force
7681
mix local.hex --force
77-
mix hex.organization auth cuatro --key $CUATRO_HEX_KEY
7882
mix deps.get
7983
8084
- name: Compile dependencies

0 commit comments

Comments
 (0)