diff --git a/.github/workflows/upload_to_idf_component_registry.yml b/.github/workflows/upload_to_idf_component_registry.yml index eb2e8a3..08e5702 100644 --- a/.github/workflows/upload_to_idf_component_registry.yml +++ b/.github/workflows/upload_to_idf_component_registry.yml @@ -2,7 +2,7 @@ name: Upload To IDF Component Registry on: release: - types: [published, deleted] + types: [published] jobs: upload: @@ -19,25 +19,9 @@ jobs: - name: Install IDF Component Manager run: pip install --upgrade idf-component-manager - - - name: Get Component Version - id: get-version - run: | - VERSION=$(python ./ci/get-version.py ./idf_component.yml) - echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT" - echo "Got Version: ${{ steps.get-version.outputs.VERSION }}" - name: Show IDF Component Manager Version run: pip show idf-component-manager - name: Upload Component - if: github.event.action == 'published' - run: > - compote component upload --namespace augtons --name FreeRTOS-Cpp - --allow-existing --version ${{ steps.get-version.outputs.VERSION }} - - - name: Delete Component - if: github.event.action == 'deleted' - run: > - compote component delete --namespace augtons --name FreeRTOS-Cpp - --version ${{ steps.get-version.outputs.VERSION }} + run: compote component upload --namespace augtons --name FreeRTOS-Cpp --allow-existing