Skip to content

Commit 371385b

Browse files
committed
Rename file to .patch properly
1 parent 7d70e01 commit 371385b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/cargo.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,24 +53,24 @@ jobs:
5353
id: bindings_diff
5454
shell: bash
5555
run: |
56-
if git diff --exit-code >> cargo_generated_diff.txt; then
56+
if git diff --exit-code >> cargo_binding_update.patch; then
5757
echo "diff-found=false" >> $GITHUB_OUTPUT
5858
else
5959
echo "diff-found=true" >> $GITHUB_OUTPUT
6060
{
6161
echo 'diff-content<<@@@'
62-
echo "$(cat cargo_generated_diff.txt)"
62+
echo "$(cat cargo_binding_update.patch)"
6363
echo '@@@'
6464
} >> $GITHUB_OUTPUT
65-
echo "$(cat cargo_generated_diff.txt)"
65+
echo "$(cat cargo_binding_update.patch)"
6666
fi
6767
- name: Upload the patch file
6868
if: steps.bindings_diff.outputs.diff-found == 'true'
6969
id: upload_patch
7070
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
7171
with:
72-
name: cargo_generated_diff_${{ matrix.os }}.patch
73-
path: cargo_generated_diff.txt
72+
name: cargo_binding_update_${{ matrix.os }}
73+
path: cargo_binding_update.patch
7474
- name: Post a comment on PR on mismatch
7575
if: |
7676
!github.event.pull_request.head.repo.fork &&

0 commit comments

Comments
 (0)