Skip to content

v1.8.4

v1.8.4 #35

Workflow file for this run

name: Release Tag To Hex.pm
on:
push:
tags: [ "v*" ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: 1.13
otp-version: 25.3
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test --exclude flaky --cover
- name: Verify version
run: |
mix run -e "if(Testcontainers.Constants.library_version() == Mix.Project.config()[:version], do: IO.puts("OK"), else: System.halt(\"version mismatch\"))"
- name: Publish to Hex.pm
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
run: mix hex.publish --yes