Skip to content

Commit

Permalink
feat(ci): auto publish
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Aug 9, 2024
1 parent 9a5d517 commit 1fd646a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ruff.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,24 @@ jobs:
- name: Ruff lint check
run: |
ruff check --output-format=github
publish:
needs: ruff
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Build package
run: |
pip install pdm --disable-pip-version-check
pdm build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
print-hash: true
verbose: true

0 comments on commit 1fd646a

Please sign in to comment.