Files
erlang-sqlite3/.github/workflows/hexpm-release.yml
Badlop 1d3bc59b0b CI: Use checkout v3 for erlang < 20.3, and v4 for newer ones
actions/checkout@v4 updated from node16 to node20,
which requires a recent GLIBC 2.27 or 2.28,
however some old erlang container images include too old GLIBC
2024-02-26 09:22:32 +01:00

26 lines
526 B
YAML

name: Hex
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-22.04
container:
image: erlang:26
steps:
- name: Check out
uses: actions/checkout@v4
- name: Setup rebar3 hex
run: |
mkdir -p ~/.config/rebar3/
echo "{plugins, [rebar3_hex]}." > ~/.config/rebar3/rebar.config
- name: Publish to hex.pm
run: rebar3 hex publish --repo hexpm --yes || head rebar3.crashdump
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}