Skip to content

genpatch.yml: gen patches for all branches #11

genpatch.yml: gen patches for all branches

genpatch.yml: gen patches for all branches #11

Workflow file for this run

name: Generate patch

Check failure on line 1 in .github/workflows/genpatch.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/genpatch.yml

Invalid workflow file

(Line: 12, Col: 7): A sequence was not expected
on:
push:
branches:
- hdmi_frl
- hdmi_frl_stable
jobs:
generate_patch:
runs-on: ubuntu-24.04
strategy:
- base: stable
target: hdmi_frl_stable
- base: master
target: hdmi_frl
if: github.ref_name == matrix.target
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ matrix.target }}
fetch-depth: 0
- name: Generate patch
run: git diff origin/${{ matrix.base }}..HEAD > 0001-${{ matrix.target }}.patch
- name: Save artifacts
uses: actions/upload-artifact@v4
with:
name: "Patch - ${{ matrix.base }}"
path: 0001-${{ matrix.target }}.patch
retention-days: 30