chore: release 0.0.6 #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "main" ] | |
tags: | |
- '*' | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Erlang | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: "27" | |
rebar3-version: "3" | |
- name: Check Version | |
run: ./scripts/check-vsn.sh | |
- name: Check format | |
run: make fmt-check | |
- name: Run tests | |
run: | | |
make run | |
make eunit | |
make ct | |
release: | |
name: Publish release | |
needs: test | |
if: startsWith(github.ref, 'refs/tags/') | |
runs-on: ubuntu-24.04 | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Erlang | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: "26" | |
rebar3-version: "3" | |
- name: Build Release | |
run: make rel | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: _build/default/emqx_plugrel/emqx_mcp_tools-*.tar.gz | |
generate_release_notes: true |