mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-23 12:15:13 +01:00
Use trusted publishing token (#862)
This commit is contained in:
parent
725e501815
commit
0ad9dd5aa5
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -58,11 +58,11 @@ jobs:
|
|||||||
id-token: write
|
id-token: write
|
||||||
if: github.event_name == 'release' && github.event.action == 'published'
|
if: github.event_name == 'release' && github.event.action == 'published'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- name: Download artifacts
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: artifact
|
name: artifact
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
- uses: pypa/gh-action-pypi-publish@release/v1
|
- name: Publish to PyPI
|
||||||
with:
|
uses: pypa/gh-action-pypi-publish@v1.8.14
|
||||||
password: ${{ secrets.PYPI_TOKEN }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user