Skip to content

Commit

Permalink
ci release to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
ciscorn committed Mar 24, 2024
1 parent 5488b42 commit bdb8a8a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on:
release:
types: [published]

jobs:
Release:
name: Release
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4

- name: Install Rye
run: curl -sSf https://rye-up.com/get | RYE_INSTALL_OPTION="--yes" bash

- name: Build
run: |
source "$HOME/.rye/env"
rye build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "earcut-py"
version = "0.3.0"
version = "0.3.1"
description = "A pure Python port of the Earcut polygon triangulation library."
authors = [
{ name = "MIERUNE Inc.", email = "[email protected]" },
Expand Down

0 comments on commit bdb8a8a

Please sign in to comment.