From 06877cbaaa1e677e149eb918780a1da0668e2ea6 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 26 Mar 2026 17:39:38 +0100 Subject: [PATCH] Replace `softprops/action-gh-release` with `gh release upload` (#30362) `replace softprops/action-gh-release` with `gh release upload` --- .github/workflows/release.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5a620414fc..8b5c5d18fa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -63,11 +63,10 @@ jobs: skip-existing: true - name: Upload release assets - uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1 - with: - files: | - dist/*.whl - dist/*.tar.gz + env: + GH_TOKEN: ${{ github.token }} + TAG_NAME: ${{ github.event.release.tag_name }} + run: gh release upload "$TAG_NAME" dist/*.whl dist/*.tar.gz --clobber wheels-init: name: Init wheels build @@ -121,6 +120,7 @@ jobs: TAG_NAME: ${{ github.event.release.tag_name }} run: tar -czf "landing-page/home_assistant_frontend_landingpage-${TAG_NAME}.tar.gz" -C landing-page/dist . - name: Upload release asset - uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1 - with: - files: landing-page/home_assistant_frontend_landingpage-${{ github.event.release.tag_name }}.tar.gz + env: + GH_TOKEN: ${{ github.token }} + TAG_NAME: ${{ github.event.release.tag_name }} + run: gh release upload "$TAG_NAME" "landing-page/home_assistant_frontend_landingpage-${TAG_NAME}.tar.gz" --clobber