Skip to content

Commit 85f71c7

Browse files
committed
Fix
1 parent 70b75d1 commit 85f71c7

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/phar.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -184,26 +184,15 @@ jobs:
184184
artifact-ids: ${{ steps.find-artifact.outputs.artifact_id }}
185185
run-id: ${{ steps.find-artifact.outputs.run_id }}
186186
github-token: ${{ secrets.GITHUB_TOKEN }}
187-
path: ./phar-file-checksum-old
188187

189188
- name: "Save old checksum"
190189
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
202191

203192
- name: "Assert checksum"
204193
run: |
205194
old_checksum=${{ steps.old_checksum.outputs.md5 }}
206-
new_checksum=${{ steps.new_checksum.outputs.md5 }}
195+
new_checksum=${{needs.compiler-tests.outputs.checksum}}
207196
[[ "$old_checksum" == "$new_checksum" ]];
208197
209198

0 commit comments

Comments
 (0)