Skip to content

[TEST]-upgrade 1.2.5 #1

[TEST]-upgrade 1.2.5

[TEST]-upgrade 1.2.5 #1

name: Test apply runtime patch
on:
pull_request:
paths:
- 'patches/paseo_specific_changes.patch'
jobs:
apply-patch:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Check if patch file has changed
id: check_patch
run: |
if git diff --name-only HEAD^ HEAD | grep -q 'patches/paseo_specific_changes.patch'; then
echo "patch_changed=true" >> $GITHUB_ENV
else
echo "patch_changed=false" >> $GITHUB_ENV
fi
- name: Apply patch
if: steps.check_patch.outputs.patch_changed == 'true'
run: |
./scripts/apply_runtime_patch.sh --check ./patches/paseo_specific_changes.patch