Skip to content

Commit 860bfd0

Browse files
authored
Update build-create-dist.yml
1 parent 3d0ae24 commit 860bfd0

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/build-create-dist.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
77
pull_request:
88
branches: [ main ]
9-
109
jobs:
1110
build-and-test:
1211
runs-on: ubuntu-latest
@@ -43,11 +42,10 @@ jobs:
4342
ls -l dist/
4443
- name: Upload dist
4544
if: success()
46-
uses: actions/upload-artifact@v3
45+
uses: actions/upload-artifact@v4
4746
with:
4847
name: dist
4948
path: dist/
50-
5149
publish:
5250
needs: build-and-test
5351
runs-on: ubuntu-latest
@@ -71,7 +69,7 @@ jobs:
7169
pip install twine
7270
echo "Twine version:"
7371
twine --version
74-
- uses: actions/download-artifact@v3
72+
- uses: actions/download-artifact@v4
7573
with:
7674
name: dist
7775
path: dist/
@@ -81,7 +79,7 @@ jobs:
8179
ls -l dist/
8280
- name: Publish distribution to PyPI
8381
env:
84-
TWINE_USERNAME: __token__
82+
TWINE_USERNAME: **token**
8583
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
8684
run: |
8785
echo "Checking distribution files..."

0 commit comments

Comments
 (0)