Skip to content

Commit

Permalink
bump workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Feb 6, 2024
1 parent e3b0f95 commit 0cdd5e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 57 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/comment-bot.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
matrix:
python: [3.7, 3.11]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: setup
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
GitHub Action: PyPI Deployment
==============================
# GitHub Action: PyPI Deployment

[![Test](https://github.com/casperdcl/deploy-pypi/actions/workflows/test.yml/badge.svg)](https://github.com/casperdcl/deploy-pypi/actions/workflows/test.yml)

Expand All @@ -9,11 +8,10 @@ Securely build and upload Python distributions to PyPI.

```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: casperdcl/deploy-pypi@v2
with:
password: ${{ secrets.PYPI_TOKEN }}
build: --sdist --wheel --outdir dist .
# only upload if a tag is pushed (otherwise just build & check)
upload: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }}
Expand Down

0 comments on commit 0cdd5e9

Please sign in to comment.