Skip to content

Commit 271c67f

Browse files
committed
feat: add release workflow
1 parent c2f40e7 commit 271c67f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/release.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: New Release
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
init:
9+
runs-on: ubuntu-20.04
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: erlef/setup-beam@v1
13+
with:
14+
otp-version: "26.0"
15+
elixir-version: "1.15.7"
16+
- run: mix deps.get
17+
- run: mix test
18+
- run: HEX_API_KEY=${{secrets.HEX_API_KEY}} mix hex.publish --yes

0 commit comments

Comments
 (0)