Skip to content

Commit

Permalink
Fixes for new GHA compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
scarletcafe committed Oct 24, 2024
1 parent 3e13d93 commit ed32480
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
fetch-depth: 0

- name: Set up Python ${{ matrix.python.version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python.version }}

Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: distributions
name: distributions-${{ matrix.python.version }}-${{ matrix.discord-py.NAME }}
path: dist/*

upload_pypi:
Expand All @@ -102,7 +102,7 @@ jobs:
submodules: true

- name: Set up Python 3.13
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.13' # Watch as I let this get handled as a float again

Expand All @@ -117,7 +117,8 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: distributions
pattern: distributions-*
merge-multiple: true
path: dist

- name: Publish wheels as release artifacts on GitHub
Expand All @@ -137,7 +138,7 @@ jobs:
rm ./dist/*.md
- name: Publish packages to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.10
uses: pypa/gh-action-pypi-publish@v1.10.3
with:
user: __token__
password: ${{ secrets.pypi_api_token }}

0 comments on commit ed32480

Please sign in to comment.