summaryrefslogtreecommitdiff
path: root/.github/actions/fix-bss-and-generate-patch/action.yml
blob: 726f6930471b798a64a109be69773c14e37b8df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
inputs:
  version:
    required: true

runs:
  using: composite
  steps:
    - name: Fix BSS
      shell: sh
      run: .venv/bin/python3 tools/fix_bss.py -v ${{ inputs.version }}

    - name: Generate patch
      shell: sh
      run: git diff > fix_bss_${{ inputs.version }}.patch

    - name: Upload patch
      uses: actions/upload-artifact@v7
      with:
        name: fix_bss_${{ inputs.version }}.patch
        path: fix_bss_${{ inputs.version }}.patch