You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tsfile.apache.org by ha...@apache.org on 2024/07/05 01:51:31 UTC
(tsfile) 01/01: update codeql using manual build
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch test-codeql
in repository https://gitbox.apache.org/repos/asf/tsfile.git
commit 26122f4fab212f4d831591dc6ff5635d868d25bc
Author: HTHou <hh...@outlook.com>
AuthorDate: Fri Jul 5 09:51:04 2024 +0800
update codeql using manual build
---
.github/workflows/codeql.yml | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 0c968ef3..9669a9d9 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -13,7 +13,7 @@ name: "CodeQL"
on:
push:
- branches: [ "develop" ]
+ branches: [ "test-codeql" ]
jobs:
analyze:
@@ -41,11 +41,11 @@ jobs:
matrix:
include:
- language: c-cpp
- build-mode: autobuild
+ build-mode: manual
- language: java-kotlin
- build-mode: none # This mode only analyzes Java. Set this to 'autobuild' or 'manual' to analyze Kotlin too.
+ build-mode: manual # This mode only analyzes Java. Set this to 'autobuild' or 'manual' to analyze Kotlin too.
- language: python
- build-mode: none
+ build-mode: manual
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
@@ -77,6 +77,10 @@ jobs:
# to build your code.
# âšī¸ Command-line programs to run using the OS shell.
# đ See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
+ - if: matrix.build-mode == 'manual'
+ shell: bash
+ run: |
+ ./mvnw -P with-java,with-cpp,with-python clean package -DskipTests
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3