Skip to content

Commit 5a94049

Browse files
committed
Add alt mirror for setup-beam action.
As the primary mirror may sometimes fail there is now a fall back.
1 parent 3390fc9 commit 5a94049

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

.github/workflows/templates/test-mixed-versions.template.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ jobs:
144144
with:
145145
otp-version: 26
146146
elixir-version: 1.15
147+
hexpm-mirrors: |
148+
https://builds.hex.pm
149+
https://cdn.jsdelivr.net/hex
147150
- name: ENSURE WORKFLOWS ARE UP TO DATE
148151
run: |
149152
mkdir local-bin/

.github/workflows/templates/test.template.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
with:
5959
otp-version: 26
6060
elixir-version: 1.15
61+
hexpm-mirrors: |
62+
https://builds.hex.pm
63+
https://cdn.jsdelivr.net/hex
6164
- name: ENSURE WORKFLOWS ARE UP TO DATE
6265
run: |
6366
mkdir local-bin/

.github/workflows/test-mixed-versions.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ jobs:
121121
with:
122122
otp-version: 26
123123
elixir-version: 1.15
124+
hexpm-mirrors: |
125+
https://builds.hex.pm
126+
https://cdn.jsdelivr.net/hex
124127
- name: ENSURE WORKFLOWS ARE UP TO DATE
125128
run: |
126129
mkdir local-bin/

.github/workflows/test-plugin-mixed.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
with:
4848
otp-version: ${{ matrix.erlang_version }}
4949
elixir-version: ${{ matrix.elixir_version }}
50+
hexpm-mirrors: |
51+
https://builds.hex.pm
52+
https://cdn.jsdelivr.net/hex
5053
- name: AUTHENTICATE TO GOOGLE CLOUD
5154
uses: google-github-actions/[email protected]
5255
with:

.github/workflows/test-plugin.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
with:
4848
otp-version: ${{ matrix.erlang_version }}
4949
elixir-version: ${{ matrix.elixir_version }}
50+
hexpm-mirrors: |
51+
https://builds.hex.pm
52+
https://cdn.jsdelivr.net/hex
5053
- name: AUTHENTICATE TO GOOGLE CLOUD
5154
uses: google-github-actions/[email protected]
5255
with:

.github/workflows/test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
with:
3939
otp-version: 26
4040
elixir-version: 1.15
41+
hexpm-mirrors: |
42+
https://builds.hex.pm
43+
https://cdn.jsdelivr.net/hex
4144
- name: ENSURE WORKFLOWS ARE UP TO DATE
4245
run: |
4346
mkdir local-bin/

0 commit comments

Comments
 (0)