Test github action #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check patch script for clean patch | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
branches: | |
- 'master' | |
jobs: | |
check-file: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Fetch base branch | |
run: | | |
git fetch origin ${GITHUB_BASE_REF} | |
- name: Patch script run | |
run: | | |
echo "Testing patch apply" | |
pwd | |
ls | |
bash build/sonic_build_script.sh -h | |
bash build/sonic_build_script.sh -b 202411 -p marvell -a arm64 --patch_script https://github.com/pavannaregundi/sonic-scripts/raw/refs/heads/master/marvell_sonic_patch_script.sh --verify_patches | |
echo "Patch apply - success" |