mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 10:52:33 +08:00
feat: scripts make verify check ci
This commit is contained in:
parent
10a37da16a
commit
e0e6243b06
15
.github/workflows/openimci.yml
vendored
15
.github/workflows/openimci.yml
vendored
@ -23,6 +23,8 @@ on:
|
|||||||
- "docs/**"
|
- "docs/**"
|
||||||
- "README.md"
|
- "README.md"
|
||||||
- "README_zh-CN.md"
|
- "README_zh-CN.md"
|
||||||
|
- "**.md"
|
||||||
|
- "docs/**"
|
||||||
- "CONTRIBUTING.md"
|
- "CONTRIBUTING.md"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
@ -31,7 +33,8 @@ on:
|
|||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "README.md"
|
- "README.md"
|
||||||
- "README_zh-CN.md"
|
- "README_zh-CN.md"
|
||||||
- "CONTRIBUTING.md"
|
- "CONTRIBUTING/**"
|
||||||
|
- "**.md"
|
||||||
- "docs/**"
|
- "docs/**"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -83,6 +86,9 @@ jobs:
|
|||||||
- name: Build Source
|
- name: Build Source
|
||||||
run: sudo make build
|
run: sudo make build
|
||||||
|
|
||||||
|
- name: Scripts Verification
|
||||||
|
run: sudo make verify
|
||||||
|
|
||||||
- name: Build multiarch PLATFORMS
|
- name: Build multiarch PLATFORMS
|
||||||
if: startsWith(github.ref, 'refs/heads/release-')
|
if: startsWith(github.ref, 'refs/heads/release-')
|
||||||
run: |
|
run: |
|
||||||
@ -91,13 +97,6 @@ jobs:
|
|||||||
- name: Cleanup Build
|
- name: Cleanup Build
|
||||||
run: sudo make clean
|
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
|
- name: Set Current Directory
|
||||||
id: set_directory
|
id: set_directory
|
||||||
run: echo "::set-output name=directory::$(pwd)"
|
run: echo "::set-output name=directory::$(pwd)"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user