https://github.com/cucumber/action-publish-hex
GitHub Action to publish Elixir/Erlang packages to https://hex.pm
https://github.com/cucumber/action-publish-hex
elixir github-actions polyglot-release
Last synced: 5 months ago
JSON representation
GitHub Action to publish Elixir/Erlang packages to https://hex.pm
- Host: GitHub
- URL: https://github.com/cucumber/action-publish-hex
- Owner: cucumber
- License: mit
- Created: 2022-08-12T20:56:40.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-11-21T10:33:26.000Z (7 months ago)
- Last Synced: 2025-11-21T12:21:22.627Z (7 months ago)
- Topics: elixir, github-actions, polyglot-release
- Language: Elixir
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/cucumber/action-publish-hex/actions/workflows/test.yaml)
# action-publish-hex
Publishes an Elixir/Erlang hex module to https://hex.pm
Needs [Erlang to be installed](https://github.com/erlef/setup-beam/) first.
## Inputs
* `hex-api-token`
* `working-directory` (optional, default `.`)
## Example
```yaml
name: Publish to hex
on:
push:
branches:
- "release/*"
jobs:
publish-ui:
name: Publish to hex
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
- uses: cucumber/action-publish-hex@v1.0.0
with:
hex-api-token: ${{ secrets.HEX_API_TOKEN }}
working-directory: "elixir"
```