File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -184,26 +184,15 @@ jobs:
184
184
artifact-ids : ${{ steps.find-artifact.outputs.artifact_id }}
185
185
run-id : ${{ steps.find-artifact.outputs.run_id }}
186
186
github-token : ${{ secrets.GITHUB_TOKEN }}
187
- path : ./phar-file-checksum-old
188
187
189
188
- name : " Save old checksum"
190
189
id : " old_checksum"
191
- run : echo "md5=$(md5sum phar-file-checksum-old/phpstan.phar | cut -d' ' -f1)" >> $GITHUB_OUTPUT
192
-
193
- - name : Download new artifact
194
- uses : actions/download-artifact@v4
195
- with :
196
- name : phar-file-checksum
197
- path : ./phar-file-checksum-new
198
-
199
- - name : " Save new checksum"
200
- id : " new_checksum"
201
- run : echo "md5=$(md5sum phar-file-checksum-new/phpstan.phar | cut -d' ' -f1)" >> $GITHUB_OUTPUT
190
+ run : echo "md5=$(md5sum phar-file-checksum/phpstan.phar | cut -d' ' -f1)" >> $GITHUB_OUTPUT
202
191
203
192
- name : " Assert checksum"
204
193
run : |
205
194
old_checksum=${{ steps.old_checksum.outputs.md5 }}
206
- new_checksum=${{ steps.new_checksum .outputs.md5 }}
195
+ new_checksum=${{needs.compiler-tests .outputs.checksum }}
207
196
[[ "$old_checksum" == "$new_checksum" ]];
208
197
209
198
You can’t perform that action at this time.
0 commit comments