Skip to content

Commit ed32480

Browse files
committed
Fixes for new GHA compatibility
1 parent 3e13d93 commit ed32480

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/deploy.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
fetch-depth: 0
3131

3232
- name: Set up Python ${{ matrix.python.version }}
33-
uses: actions/setup-python@v4
33+
uses: actions/setup-python@v5
3434
with:
3535
python-version: ${{ matrix.python.version }}
3636

@@ -86,7 +86,7 @@ jobs:
8686
- name: Upload artifacts
8787
uses: actions/upload-artifact@v4
8888
with:
89-
name: distributions
89+
name: distributions-${{ matrix.python.version }}-${{ matrix.discord-py.NAME }}
9090
path: dist/*
9191

9292
upload_pypi:
@@ -102,7 +102,7 @@ jobs:
102102
submodules: true
103103

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

@@ -117,7 +117,8 @@ jobs:
117117
- name: Download artifacts
118118
uses: actions/download-artifact@v4
119119
with:
120-
name: distributions
120+
pattern: distributions-*
121+
merge-multiple: true
121122
path: dist
122123

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

0 commit comments

Comments
 (0)