Skip to content

Commit c838268

Browse files
committed
Test
1 parent ff9257e commit c838268

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/esphome-build.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -67,24 +67,24 @@ jobs:
6767
name: ${{ inputs.name }}
6868
path: output
6969

70-
publish:
71-
if: (github.event_name == 'workflow_dispatch' || github.event_name == 'push') && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/docs-test')
72-
name: Publish new firmware
73-
runs-on: ubuntu-latest
74-
needs: [build]
75-
steps:
76-
- uses: actions/checkout@v3.5.3
77-
- uses: actions/download-artifact@v3.0.2
78-
with:
79-
path: output
80-
name: ${{ inputs.name }}
81-
82-
- name: Create single manifest.json
83-
run: |
84-
jq -s '{"name": "${{ inputs.name }}", "version": "${{ needs.build.outputs.project-version }}", "home_assistant_domain": "esphome", "new_install_skip_erase": false, "builds":.}' output/*/manifest.json > output/${{ inputs.manifest_filename }}
85-
sed -i 's/${{ needs.build.outputs.esphome-build-name }}\//${{ inputs.directory_name }}\//g' output/${{ inputs.manifest_filename }}
86-
87-
- uses: actions/upload-artifact@v4
88-
with:
89-
name: ${{ inputs.name }}
90-
path: output
70+
#publish:
71+
# if: (github.event_name == 'workflow_dispatch' || github.event_name == 'push') && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/docs-test')
72+
# name: Publish new firmware
73+
# runs-on: ubuntu-latest
74+
# needs: [build]
75+
# steps:
76+
# - uses: actions/checkout@v3.5.3
77+
# - uses: actions/download-artifact@v3.0.2
78+
# with:
79+
# path: output
80+
# name: ${{ inputs.name }}
81+
#
82+
# - name: Create single manifest.json
83+
# run: |
84+
# jq -s '{"name": "${{ inputs.name }}", "version": "${{ needs.build.outputs.project-version }}", "home_assistant_domain": "esphome", "new_install_skip_erase": false, "builds":.}' output/*/manifest.json > output/${{ inputs.manifest_filename }}
85+
# sed -i 's/${{ needs.build.outputs.esphome-build-name }}\//${{ inputs.directory_name }}\//g' output/${{ inputs.manifest_filename }}
86+
#
87+
# - uses: actions/upload-artifact@v4
88+
# with:
89+
# name: ${{ inputs.name }}
90+
# path: output

0 commit comments

Comments
 (0)