fix: 重构Unzip类安全验证逻辑以满足CodeQL静态分析要求 #460
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/**' | |
| - '!framework/elsa/**' | |
| - 'examples/**' | |
| pull_request: | |
| branches: | |
| - 'main' | |
| - '[0-9]+.[0-9]+.x' | |
| paths: | |
| - 'framework/**' | |
| - '!framework/python/**' | |
| - '!framework/elsa/**' | |
| - '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 |