Remove custom-components/uilogs (#761)

This commit is contained in:
Joakim Sørensen
2021-01-02 22:56:52 +01:00
committed by GitHub
parent 4f01159432
commit 6062561858
5 changed files with 29 additions and 11 deletions
+22 -9
View File
@@ -11,6 +11,7 @@ jobs:
outputs:
repository: ${{ steps.repository.outputs.repository }}
category: ${{ steps.category.outputs.category }}
removal: ${{ steps.removal.outputs.removal }}
steps:
- name: Check out repository
uses: actions/checkout@v2
@@ -18,20 +19,30 @@ jobs:
- name: Clone origin
run: git clone --depth 1 https://github.com/hacs/default /tmp/repositories/default
- name: Clone new addition
run: |
repo=$(python3 -m scripts.changed.repo)
git clone --depth 1 "https://github.com/$repo" /tmp/repositories/addition
- name: Set category
id: category
run: echo "::set-output name=category::$(python3 -m scripts.changed.category)"
- name: Set repository
id: repository
run: echo "::set-output name=repository::$(python3 -m scripts.changed.repo)"
- name: Check removal
id: removal
run: |
if [ "${{ steps.repository.outputs.repository }}" == "Bad data []" ]; then
echo "::set-output name=removal::true"
fi
- name: Set category
if: steps.removal.outputs.removal != 'true'
id: category
run: echo "::set-output name=category::$(python3 -m scripts.changed.category)"
- name: Clone new addition
if: steps.removal.outputs.removal != 'true'
run: |
repo=$(python3 -m scripts.changed.repo)
git clone --depth 1 "https://github.com/$repo" /tmp/repositories/addition
- name: Upload shared artifacts
if: steps.removal.outputs.removal != 'true'
uses: actions/upload-artifact@master
with:
name: repositories
@@ -41,6 +52,7 @@ jobs:
runs-on: ubuntu-latest
name: Check Owner
needs: preflight
if: needs.preflight.outputs.removal != 'true'
steps:
- name: Check out repository
uses: actions/checkout@v2
@@ -101,6 +113,7 @@ jobs:
runs-on: ubuntu-latest
name: "Run HACS Action"
needs: preflight
if: needs.preflight.outputs.removal != 'true'
steps:
- name: HACS action
uses: "hacs/action@main"