fix(commands): release 命令样例版本号改为通用值并增加目录排除规则 #697
This file contains hidden or 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: Framework Java Compile | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - '[0-9]+.[0-9]+.x' # 匹配 x.x.x 格式且最后一位为 x(如 1.2.x、22.1.x) | |
| paths: | |
| - 'framework/**' | |
| - '!framework/python/**' | |
| - 'examples/**' | |
| pull_request: | |
| branches: | |
| - 'main' | |
| - '[0-9]+.[0-9]+.x' | |
| paths: | |
| - 'framework/**' | |
| - '!framework/python/**' | |
| - 'examples/**' | |
| jobs: | |
| build: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build with Maven | |
| run: mvn clean install -Dplugin.http-server.netty.display-error=true |