File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Generate patch
22on :
33 push :
4- branches : hdmi_frl
4+ branches :
5+ - hdmi_frl
6+ - hdmi_frl_stable
57
68jobs :
79 generate_patch :
810 runs-on : ubuntu-24.04
11+ strategy :
12+ matrix :
13+ include :
14+ - base : stable
15+ target : hdmi_frl_stable
16+ - base : master
17+ target : hdmi_frl
918 steps :
1019 - name : Checkout repository
1120 uses : actions/checkout@v4
1221 with :
13- ref : hdmi_frl
22+ ref : ${{ matrix.target }}
1423 fetch-depth : 0
1524 - name : Generate patch
16- run : git diff origin/master > 0001-amdgpu-frl .patch
25+ run : git diff origin/${{ matrix.base }}..HEAD > 0001-${{ matrix.target }} .patch
1726 - name : Save artifacts
1827 uses : actions/upload-artifact@v4
1928 with :
20- name : " Patch"
21- path : 0001-amdgpu-frl .patch
29+ name : " Patch - ${{ matrix.base }} "
30+ path : 0001-${{ matrix.target }} .patch
2231 retention-days : 30
You can’t perform that action at this time.
0 commit comments