Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ jobs:
name: OTP ${{matrix.otp}}
strategy:
matrix:
otp: ["26.0", "27.0"]
otp:
- "28.0"
- "29.0"
steps:
- uses: actions/checkout@v2.0.0
- uses: erlef/setup-beam@v1.18.0
- uses: actions/checkout@v7.0.1
- uses: erlef/setup-beam@v1.24.1
with:
otp-version: ${{ matrix.otp }}
rebar3-version: "3.23.0"
rebar3-version: 3.27.0
- name: Compile
run: make compile
- name: Run xref
Expand All @@ -28,17 +30,19 @@ jobs:
if: github.ref == 'refs/heads/master' && startsWith(github.event.head_commit.message, 'no-release:') == false
needs: build_and_test
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v5.3
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create a GitHub release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}
release_name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
TAG: ${{ steps.tag_version.outputs.new_tag }}
CHANGELOG: ${{ steps.tag_version.outputs.changelog }}
run: gh release create "$TAG" --title "Release $TAG" --notes "$CHANGELOG"