Revert "Upload artifacts index even on partial builds (#2901)" (#2905)

This reverts commit 49f26c3d2e685e3f7e9135f8e10efaa6a40526df.

The steps is not valid in that context. Let's revert the commit to get a
green build first.
This commit is contained in:
Stefan Agner 2023-11-02 16:35:26 +01:00 committed by GitHub
parent 5314324c61
commit fccb11cad1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -89,6 +89,5 @@ jobs:
-H "Content-Type: application/json" \
--data '{"files": [
"https://os-artifacts.home-assistant.io/index.html",
"https://os-artifacts.home-assistant.io/index.json",
"https://os-artifacts.home-assistant.io/indexes/${{ github.event.inputs.version }}.json"
"https://os-artifacts.home-assistant.io/index.json"
] }'

View File

@ -245,7 +245,7 @@ jobs:
update_index:
name: Update artifacts index
if: ${{ github.event_name != 'release' && (always() && steps.prepare.outcome == 'success') }}
if: ${{ github.event_name != 'release' }}
needs: [ build, prepare ]
uses: home-assistant/operating-system/.github/workflows/artifacts-index.yaml@dev
with: