Skip to content

Commit d9ca42c

Browse files
committed
hexpm-release: Update to use ubuntu-24.04
1 parent f1acf6d commit d9ca42c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/hexpm-release.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,24 @@ on:
77

88
jobs:
99
release:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-24.04
1111
steps:
12+
1213
- name: Check out
13-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
15+
16+
- name: Get Erlang/OTP
17+
uses: erlef/setup-beam@v1
18+
with:
19+
otp-version: 27
20+
rebar3-version: '3.24.0'
1421

1522
- name: Setup rebar3 hex
1623
run: |
1724
mkdir -p ~/.config/rebar3/
1825
echo "{plugins, [rebar3_hex]}." > ~/.config/rebar3/rebar.config
1926
2027
- name: Publish to hex.pm
21-
run: rebar3 hex publish --repo hexpm --yes || head rebar3.crashdump
28+
run: DEBUG=1 rebar3 hex publish --repo hexpm --yes
2229
env:
2330
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}

0 commit comments

Comments
 (0)