Skip to content

v0.4.1

v0.4.1 #2

Workflow file for this run

name: Publish to hex.pm
on:
release:
types:
- created
# run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Erlang
uses: erlef/setup-beam@v1.15.4
with:
otp-version: "27.0"
gleam-version: "1.5.1"
rebar3-version: "3"
- name: Build and publish package
run: |
gleam deps download
gleam build
gleam publish -y
env:
HEXPM_PASS: ${{ secrets.HEXPM_PASS }}
HEXPM_USER: ${{ secrets.HEXPM_USER }}