From 5a6e2beb101cfadb941de9490239242c1b104730 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 20:17:17 +0000 Subject: [PATCH] Add Gitea Actions CI/CD workflows --- .gitea/workflows/release.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .gitea/workflows/release.yml diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..1cb21cb --- /dev/null +++ b/.gitea/workflows/release.yml @@ -0,0 +1,35 @@ +name: Release + +on: + push: + tags: + - 'v*' + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Install build dependencies + run: | + pip install build + + - name: Build package + run: | + python -m build + + - name: Create Release + uses: https://gitea.com/actions/release-action@main + with: + files: | + dist/** + version: ${{ github.ref_name }} + title: Release ${{ github.ref_name }} + note: "Release ${{ github.ref_name }} of auto-gitignore-cli"