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 abb1984
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release

on:
# release:
# types: [published]
pull_request:

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: rye build

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit abb1984

Please sign in to comment.