diff --git a/.github/workflows/component-image.yml b/.github/workflows/component-image.yml index 6c4633027..2ed1ca780 100644 --- a/.github/workflows/component-image.yml +++ b/.github/workflows/component-image.yml @@ -14,6 +14,7 @@ jobs: runs-on: ubuntu-latest outputs: name: ${{ steps.get_component.outputs.name }} + name_lower: ${{ steps.get_component.outputs.name_lower }} comment_id: ${{ steps.create-comment.outputs.result }} steps: - name: Comment @@ -35,6 +36,7 @@ jobs: comment="${{ github.event.comment.body }}" component=$(echo $comment | sed -n 's/^@esphomebot generate image //p') echo "name=$component" >> $GITHUB_OUTPUT + echo "name_lower=${component,,}" >> $GITHUB_OUTPUT generate: name: Generate @@ -52,7 +54,7 @@ jobs: id: upload-artifact with: name: ${{ needs.prepare.outputs.name }} - path: ${{ needs.prepare.outputs.name }}.svg + path: ${{ needs.prepare.outputs.name_lower }}.svg - name: Update Comment uses: actions/github-script@v7.0.1