File tree 2 files changed +31
-0
lines changed
2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 56
56
edit-mode : replace
57
57
outputs :
58
58
matrix_strategy : ${{ steps.strat.outputs.matrix_strategy }}
59
+ targets_referenced : ${{ steps.parse.outputs.targets_referenced }}
59
60
build :
60
61
needs : [prerequisites]
61
62
strategy :
73
74
path : |
74
75
${{ matrix.flat.dir }}/runtimes/${{ matrix.flat.runtime }}/**/*
75
76
${{ matrix.flat.dir}}/lib/*${{ matrix.flat.runtime }}*/**/*
77
+ commit :
78
+ name : Commit Binaries
79
+ needs : [prerequisites, build]
80
+ runs-on : ubuntu-latest
81
+ if : ${{ needs.prerequisites.outputs.targets_referenced }}
82
+ steps :
83
+ - name : Checkout PR
84
+ env :
85
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
86
+ run : gh pr checkout ${{ github.event.pull_request.number }}
87
+ - name : Download All Artifacts
88
+ uses : actions/download-artifact@v4
89
+ with :
90
+ pattern : natives-*
91
+ merge-multiple : true
92
+ - name : Commit Artifacts
93
+ run : |
94
+ git config --local user.email "9011267+dotnet-bot@users.noreply.github.com"
95
+ git config --local user.name "The Silk.NET Automaton"
96
+ git add .
97
+ git commit -m "Update native binaries for ${{ github.sha }}"
98
+ git push
Original file line number Diff line number Diff line change @@ -489,3 +489,11 @@ src/Website/Silk.NET.Statiq/cache
489
489
490
490
# Verify
491
491
* .received. *
492
+
493
+ # Native Binaries
494
+ ! ** /runtimes /* /native /* .dylib
495
+ ! ** /runtimes /* /native /* .so
496
+ ! ** /runtimes /* /native /* .dll
497
+ ! ** /lib /** /* .aar
498
+ build /
499
+ ! eng /build /
You can’t perform that action at this time.
0 commit comments