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
26 lines
526 B
YAML
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 }}
|