From 54f76114371875212b253918cce68c746dc40517 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 13 Sep 2025 23:36:01 +1000 Subject: ci: create release --- .github/workflows/release.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/release.yml (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..2e1839a --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,38 @@ +name: Create release + +on: + push: + tags: + - "v*" + +jobs: + build-and-release: + runs-on: ubuntu-latest + + permissions: + contents: write + + steps: + - uses: actions/checkout@v4 + + - name: Clean stale artifacts + run: git clean -dfx + + - name: Setup python + uses: actions/setup-python@v5 + with: + python-version: "3.x" + + - name: Install build + run: | + python -m pip install --upgrade pip + pip install build + + - name: Create packages + run: python -m build + + - name: Create release + uses: softprops/action-gh-release@v2 + with: + files: dist/* + generate_release_notes: true -- cgit v1.2.3-freya