File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -126,13 +126,19 @@ jobs:
126
126
echo "You have altered the generated proto files but they do not match what is expected."
127
127
echo "Please run the following to update the generated files:"
128
128
echo 'docker run -v "$PWD":/aioesphomeapi ghcr.io/esphome/aioesphomeapi-proto-builder:latest'
129
- echo "The diff is:"
130
- git diff
131
129
exit 1
132
130
fi
133
131
name: Check protobuf files match
134
132
if: ${{ matrix.python-version == '3.12' && matrix.extension == 'skip_cython' && matrix.os == 'ubuntu-latest' }}
135
-
133
+ - if : failure()
134
+ name : Show changes
135
+ run : git diff
136
+ - if : failure()
137
+ name : Archive artifacts
138
+ uses : actions/upload-artifact@v4
139
+ with :
140
+ name : genrated-proto-files
141
+ path : aioesphomeapi/*pb2.py
136
142
benchmarks :
137
143
name : Run benchmarks
138
144
runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments