Skip to content

Commit

Permalink
add action to upload a patch when bindings differ
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometer1729 committed Dec 18, 2024
1 parent fb2cf12 commit 1b6564d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,18 @@ jobs:
run: |
nix-store --gc --print-dead
nix-store --optimise
patch-upload:
needs: nix-build
if: ${{ failure() }}
runs-on: [sdk-self-hosted-linux-amd64-build-system]
steps:
- name: generate patch
run: |
cd src/bindings
git add .
git diff HEAD > bindings.patch
- name: Upload patch
uses: actions/upload-artifact@v4
with:
name: bindings.patch
path: src/bindings/bindings.patch

0 comments on commit 1b6564d

Please sign in to comment.