|
|
|
@ -23,6 +23,8 @@ on:
|
|
|
|
|
- "docs/**"
|
|
|
|
|
- "README.md"
|
|
|
|
|
- "README_zh-CN.md"
|
|
|
|
|
- "**.md"
|
|
|
|
|
- "docs/**"
|
|
|
|
|
- "CONTRIBUTING.md"
|
|
|
|
|
pull_request:
|
|
|
|
|
branches:
|
|
|
|
@ -31,7 +33,8 @@ on:
|
|
|
|
|
paths-ignore:
|
|
|
|
|
- "README.md"
|
|
|
|
|
- "README_zh-CN.md"
|
|
|
|
|
- "CONTRIBUTING.md"
|
|
|
|
|
- "CONTRIBUTING/**"
|
|
|
|
|
- "**.md"
|
|
|
|
|
- "docs/**"
|
|
|
|
|
|
|
|
|
|
env:
|
|
|
|
@ -83,6 +86,9 @@ jobs:
|
|
|
|
|
- name: Build Source
|
|
|
|
|
run: sudo make build
|
|
|
|
|
|
|
|
|
|
- name: Scripts Verification
|
|
|
|
|
run: sudo make verify
|
|
|
|
|
|
|
|
|
|
- name: Build multiarch PLATFORMS
|
|
|
|
|
if: startsWith(github.ref, 'refs/heads/release-')
|
|
|
|
|
run: |
|
|
|
|
@ -91,13 +97,6 @@ jobs:
|
|
|
|
|
- name: Cleanup Build
|
|
|
|
|
run: sudo make clean
|
|
|
|
|
|
|
|
|
|
- name: Push Changes to Main
|
|
|
|
|
uses: stefanzweifel/git-auto-commit-action@v5
|
|
|
|
|
with:
|
|
|
|
|
commit_message: "cicd: robot automated Change"
|
|
|
|
|
branch: main
|
|
|
|
|
continue-on-error: true
|
|
|
|
|
|
|
|
|
|
- name: Set Current Directory
|
|
|
|
|
id: set_directory
|
|
|
|
|
run: echo "::set-output name=directory::$(pwd)"
|
|
|
|
|