Skip to content

Commit 9b7f28a

Browse files
authored
feat: setup hexpm mirror and timeout for better reliability (#44)
This adds the factory droid recommendation to solve some hexpm repo timeout issues. https://github.com/stordco/parcel-service/pull/571#issuecomment-2299456023 https://hex.pm/docs/mirrors
1 parent 9e72ef0 commit 9b7f28a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup/action.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,13 @@ runs:
9696
with:
9797
otp-version: ${{ inputs.otp-version }}
9898
elixir-version: ${{ inputs.elixir-version }}
99+
install-hex: true
100+
install-rebar: true
99101
version-file: ${{ !inputs.elixir-version && '.tool-versions' || null }}
100102
version-type: strict
103+
env:
104+
HEXPM_MIRRORS: https://repo.hex.pm,https://cdn.jsdelivr.net/hex
105+
HEXPM_TIMEOUT: 60000
101106

102107
- id: cache
103108
name: Cache

0 commit comments

Comments
 (0)