diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 62d41ce4..9ff1d59b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -15,15 +15,12 @@ on: push: branches: [ main ] pull_request: - # The branches below must be a subset of the branches above branches: [ main ] schedule: - cron: '19 14 * * 2' env: - # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Debug - EXECUTABLE_OUTPUT_PATH: ./ jobs: analyze: @@ -38,9 +35,6 @@ jobs: fail-fast: false matrix: language: [ 'cpp' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] - # Learn more: - # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed steps: - name: Checkout repository @@ -49,15 +43,10 @@ jobs: lfs: 'false' submodules: recursive - # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - name: Install Dependence run: | @@ -102,8 +91,8 @@ jobs: - name: Configure CMake && Build GpgFrontend run: | - cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_TEST_UI=ON + cmake -G Ninja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_STABLE=ON cmake --build ${{github.workspace}}/build --config {{$env.BUILD_TYPE}} -- -v - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/doxygen-genration.yml b/.github/workflows/doxygen-genration.yml index ddb2723f..c23da8d2 100644 --- a/.github/workflows/doxygen-genration.yml +++ b/.github/workflows/doxygen-genration.yml @@ -4,8 +4,7 @@ on: push: branches: [ main, 'develop' ] paths-ignore: - - 'resource/locale/template/**' - - 'manual/**' + - 'resource/lfs/locale/**' - '**.md' jobs: diff --git a/.github/workflows/release-qt5.yml b/.github/workflows/release-qt5.yml index be2c0a1d..5125c128 100644 --- a/.github/workflows/release-qt5.yml +++ b/.github/workflows/release-qt5.yml @@ -4,20 +4,17 @@ on: push: branches: [ main, 'develop' ] paths-ignore: - - 'resource/locale/**' - - 'manual/**' + - 'resource/lfs/locale/**' - '**.md' pull_request: branches: [ main, 'develop' ] paths-ignore: - - 'resource/locale/**' - - 'manual/**' + - 'resource/lfs/locale/**' - '**.md' env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Release - EXECUTABLE_OUTPUT_PATH: ./ jobs: build: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e12c94b..200b9d1a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,20 +4,17 @@ on: push: branches: [ main, 'develop' ] paths-ignore: - - 'resource/locale/**' - - 'manual/**' + - 'resource/lfs/locale/**' - '**.md' pull_request: branches: [ main, 'develop' ] paths-ignore: - - 'resource/locale/**' - - 'manual/**' + - 'resource/lfs/locale/**' - '**.md' env: - # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + # Customize the CMake build type here (Release, Debug, etc.) BUILD_TYPE: Release - EXECUTABLE_OUTPUT_PATH: ./ jobs: build: @@ -252,8 +249,6 @@ jobs: --team-id ${{secrets.APPLE_DEVELOPER_TEAM_ID}} \ --password ${{secrets.APPLE_DEVELOPER_ID_SECRET}} \ ${{github.workspace}}/build/GpgFrontend-${{env.sha_short}}-x86_64.zip - - echo "BUILD_TYPE_LOWER=$(echo ${BUILD_TYPE} | tr '[:upper:]' '[:lower:]')" >> ${GITHUB_ENV} echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> ${GITHUB_ENV} if: matrix.os == 'macos-13' || matrix.os == 'macos-12' || matrix.os == 'macos-14' @@ -292,7 +287,7 @@ jobs: run: | cd $(echo "/${{github.workspace}}" | sed 's/\\/\//g' | sed 's/://') mkdir -p build/artifacts/modules - cp -r modules/build/artifacts/* build/artifacts/modules + cp -r modules/build/artifacts/bin/* build/artifacts/modules cd build windeployqt-qt6 --force ./artifacts/GpgFrontend.exe echo "BUILD_TYPE_LOWER=${BUILD_TYPE,,}" >> ${GITHUB_ENV}