mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2025-01-15 20:31:42 +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
|
CIBW_ARCHS_LINUX: auto aarch64
|
||||||
REQUIRE_CYTHON: 1
|
REQUIRE_CYTHON: 1
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
name: wheels
|
||||||
path: ./wheelhouse/*.whl
|
path: ./wheelhouse/*.whl
|
||||||
|
|
||||||
build_sdist:
|
build_sdist:
|
||||||
@ -46,8 +47,9 @@ jobs:
|
|||||||
- name: Build sdist
|
- name: Build sdist
|
||||||
run: pipx run build --sdist
|
run: pipx run build --sdist
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
name: sdist
|
||||||
path: dist/*.tar.gz
|
path: dist/*.tar.gz
|
||||||
|
|
||||||
upload_pypi:
|
upload_pypi:
|
||||||
@ -59,10 +61,10 @@ jobs:
|
|||||||
if: github.event_name == 'release' && github.event.action == 'published'
|
if: github.event_name == 'release' && github.event.action == 'published'
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: artifact
|
|
||||||
path: dist
|
path: dist
|
||||||
|
merge-multiple: true
|
||||||
|
|
||||||
- name: Publish to PyPI
|
- name: Publish to PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@v1.9.0
|
uses: pypa/gh-action-pypi-publish@v1.9.0
|
||||||
|
Loading…
Reference in New Issue
Block a user