magictk/.gitea/workflows/build.yaml

21 lines
630 B
YAML

name: Build and Publish
run-name: Build and Publish Package (${{ gitea.actor }})
on: [push]
jobs:
Run:
runs-on: ubuntu-latest
steps:
- name: Info
run: echo "OS=${{ runner.os }} NAME=${{ gitea.event_name }} REPO=${{ gitea.repository }} BRANCH=${{ gitea.ref }} ST=${{ job.status }}"
- name: Prepare Python
uses: http://hmtsai.cn:3000/actions/setup-python@v5
with:
python-version: "3.10"
- name: CheckOut
uses: http://hmtsai.cn:3000/actions/checkout@v4
- name: Build
run: python3 setup.py build
- name: Publish
run: echo "Publish..."