diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..ee14efb --- /dev/null +++ b/.github/workflows/build.yml @@ -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