Skip to content

v0.1.0

v0.1.0 #3

Workflow file for this run

name: Publish to Hex
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: erlef/setup-beam@v1
with:
otp-version: "27.1"
rebar3-version: "3.24.0"
- name: Setup rebar3 hex
run: |
mkdir -p ~/.config/rebar3/
echo "{plugins, [rebar3_hex]}." >> ~/.config/rebar3/rebar.config
- name: Check out
uses: actions/checkout@v3
- name: Publish to Hex.pm
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
run: |
rebar3 hex publish --repo hexpm --yes