Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 57 additions & 56 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CD

on:
pull_request:
push:
tags:
- "v*"
Expand Down Expand Up @@ -30,9 +31,9 @@ jobs:
python-version: "3.10.4"

- name: Setup Poetry
uses: Gr1N/setup-poetry@v7
uses: abatilo/actions-poetry@v3
with:
poetry-version: 1.2.2
poetry-version: 1.8.2

- name: Install Dependencies
run: |
Expand Down Expand Up @@ -80,7 +81,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version: [cp38-*, cp39-*, cp310-*, cp311-*, cp312-*]
version: [cp310-*, cp311-*, cp312-*, cp313-*, cp314-*]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -116,56 +117,56 @@ jobs:
with:
path: wheelhouse/*.whl

release-pypi:
name: Release to PyPI
needs: build_wheels
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Switch to Current Branch
run: git checkout ${{ env.BRANCH }}

- uses: actions/setup-python@v4
with:
python-version: "3.10.4"

- uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.6.4
with:
password: ${{ secrets.PYPI_TOKEN }}
verbose: true

release-github:
name: Release to GitHub
needs: build_wheels
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Switch to Current Branch
run: git checkout ${{ env.BRANCH }}

- uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- name: Release Tagged Version
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
dist/**
# release-pypi:
# name: Release to PyPI
# needs: build_wheels
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v3
# with:
# submodules: true

# - name: Switch to Current Branch
# run: git checkout ${{ env.BRANCH }}

# - uses: actions/setup-python@v4
# with:
# python-version: "3.10.4"

# - uses: actions/download-artifact@v3
# with:
# name: artifact
# path: dist

# - name: Publish to PyPI
# uses: pypa/gh-action-pypi-publish@v1.6.4
# with:
# password: ${{ secrets.PYPI_TOKEN }}
# verbose: true

# release-github:
# name: Release to GitHub
# needs: build_wheels
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v3
# with:
# submodules: true

# - name: Switch to Current Branch
# run: git checkout ${{ env.BRANCH }}

# - uses: actions/download-artifact@v3
# with:
# name: artifact
# path: dist

# - name: Release Tagged Version
# uses: "marvinpinto/action-automatic-releases@latest"
# with:
# repo_token: "${{ secrets.GITHUB_TOKEN }}"
# prerelease: false
# files: |
# dist/**
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
python-version: "3.10.4"

- name: Setup Poetry
uses: Gr1N/setup-poetry@v7
uses: abatilo/actions-poetry@v3
with:
poetry-version: 1.2.2
poetry-version: 1.8.2

- name: Install Dependencies
run: |
Expand Down
Loading
Loading