Skip to content

Commit

Permalink
Add automatically publish packages on Hex.pm.
Browse files Browse the repository at this point in the history
  • Loading branch information
onurozgurozkan committed Jun 24, 2024
1 parent 112e479 commit 0698b44
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
branches:
- main
- 'v*'
tags:
- '*'

jobs:
mix_test:
Expand Down Expand Up @@ -47,4 +49,14 @@ jobs:
_build
key: ${{ matrix.otp }}-${{ matrix.elixir }}-build
- run: mix compile --warnings-as-errors
- run: mix test
- run: mix test
publish:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3

- name: Publish to Hex.pm
uses: erlangpack/github-action@v3
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.5.1 (2024-06-26)

- Add automatically publish packages on Hex.pm.

## v0.5.0 (2024-04-26)

- Add `embeddings` endpoint.
Expand Down

0 comments on commit 0698b44

Please sign in to comment.