Skip to content

Merge pull request #49 from travelping/feature/stable/3.x/safe-imei-e… #10

Merge pull request #49 from travelping/feature/stable/3.x/safe-imei-e…

Merge pull request #49 from travelping/feature/stable/3.x/safe-imei-e… #10

Workflow file for this run

name: publish to hex.pm
on:
push:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-20.04
container:
image: erlang:23.2.5.0-alpine
steps:
- name: Prepare
run: |
apk update
apk --no-cache upgrade
apk --no-cache add gcc git libc-dev libc-utils libgcc linux-headers make bash \
musl-dev musl-utils ncurses-dev pcre2 pkgconf scanelf wget zlib
- uses: actions/checkout@v4
- name: work around for permission issue
run: |
git config --global --add safe.directory /__w/gtplib/gtplib
- name: Publish to Hex.pm
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
run: |
rebar3 edoc
rebar3 hex publish -r hexpm --yes