Skip to content

ci: Update release workflow (#12) #8

ci: Update release workflow (#12)

ci: Update release workflow (#12) #8

name: Build and release x86_64 binaries
on: [push]
jobs:
release:
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
strategy:
matrix:
target: ["x86_64"]
os: ["ubuntu18.04", "ubuntu20.04", "ubuntu22.04", "alpine"]
steps:
- uses: actions/checkout@v4
- name: Build libbaihook
run: |
./build.sh ${{ matrix.os }}
rm -rf Makefile
- name: Release to GitHub
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
./*.so