@@ -67,24 +67,24 @@ jobs:
67
67
name : ${{ inputs.name }}
68
68
path : output
69
69
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