Skip to content

Commit e8c3ede

Browse files
authored
Hex.pm workflows
1 parent 5accde1 commit e8c3ede

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

.github/workflows/hex.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
1+
env:
2+
ELIXIR_VERSION: "1.13.4"
3+
OTP_VERSION: "25.0.1"
14
on:
25
push:
36
tags:
47
- '*'
5-
68
jobs:
79
publish:
8-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-20.04
911
steps:
10-
- name: Check out
11-
uses: actions/checkout@v2
12-
13-
- name: Publish to Hex.pm
14-
uses: erlangpack/github-action@v3
15-
env:
16-
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
12+
- uses: actions/checkout@v3
13+
- name: Set up Elixir
14+
uses: erlef/setup-beam@v1
15+
with:
16+
elixir-version: ${{ env.ELIXIR_VERSION }}
17+
otp-version: ${{ env.OTP_VERSION }}
18+
- name: Publish to Hex
19+
uses: synchronal/hex-publish-action@v3
20+
with:
21+
name: exq
22+
key: ${{ secrets.HEX_PM_KEY }}
23+
tag-release: false

0 commit comments

Comments
 (0)