Skip to content

v1.9.0

v1.9.0 #2

Workflow file for this run

name: Publish Hex Package
on:
release:
types: [published]
workflow_dispatch:
inputs:
tag:
description: "The git tag for the release to publish"
type: string
required: true
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
with:
ref: ${{ inputs.tag || github.ref }}
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: 28
elixir-version: 1.19
- name: Publish to hex.pm
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
run: |
mix deps.get
mix hex.publish --yes