first pass at adding github build action

This commit is contained in:
William Kray
2024-08-15 14:37:03 -07:00
parent 2509556073
commit 9d61733ac8
+29
View File
@@ -0,0 +1,29 @@
name: Build Maubot Plugin Package
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10.6
uses: actions/setup-python@v2
with:
python-version: "3.10.6"
- name: Install dependencies
run: |
python -m pip install --upgrade maubot
- name: Build Maubot Plugin Package
run: |
mbc build
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
*.mbp
LICENSE