mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-12-27 17:37:39 +01:00
Upgrade upload/download actions (#929)
This commit is contained in:
parent
8b3158aefc
commit
9230eaf2bd
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -33,8 +33,9 @@ jobs:
|
||||
CIBW_ARCHS_LINUX: auto aarch64
|
||||
REQUIRE_CYTHON: 1
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wheels
|
||||
path: ./wheelhouse/*.whl
|
||||
|
||||
build_sdist:
|
||||
@ -46,8 +47,9 @@ jobs:
|
||||
- name: Build sdist
|
||||
run: pipx run build --sdist
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: sdist
|
||||
path: dist/*.tar.gz
|
||||
|
||||
upload_pypi:
|
||||
@ -59,10 +61,10 @@ jobs:
|
||||
if: github.event_name == 'release' && github.event.action == 'published'
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: artifact
|
||||
path: dist
|
||||
merge-multiple: true
|
||||
|
||||
- name: Publish to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@v1.9.0
|
||||
|
Loading…
Reference in New Issue
Block a user