diff --git a/.codacy.yml b/.codacy.yml new file mode 100644 index 000000000..f9482da2f --- /dev/null +++ b/.codacy.yml @@ -0,0 +1,5 @@ +--- +exclude_paths: + - '**/translations/*.ts' + +# codacy config documentation: https://support.codacy.com/hc/en-us/articles/115002130625-Codacy-Configuration-File diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index f1846ecf6..a6b9d5340 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -271,6 +271,7 @@ jobs: override_target: 13 package_suffix: "-macOS13_Intel" qt_version: 6.11.0 + qt_arch: clang_64 qt_modules: qtimageformats qtmultimedia qtwebsockets soc: Intel type: Release @@ -286,6 +287,7 @@ jobs: make_package: 1 package_suffix: "-macOS14" qt_version: 6.11.0 + qt_arch: clang_64 qt_modules: qtimageformats qtmultimedia qtwebsockets soc: Apple type: Release @@ -301,6 +303,7 @@ jobs: make_package: 1 package_suffix: "-macOS15" qt_version: 6.11.0 + qt_arch: clang_64 qt_modules: qtimageformats qtmultimedia qtwebsockets soc: Apple type: Release @@ -314,6 +317,7 @@ jobs: ccache_eviction_age: 7d cmake_generator: Ninja qt_version: 6.11.0 + qt_arch: clang_64 qt_modules: qtimageformats qtmultimedia qtwebsockets soc: Apple type: Debug @@ -329,6 +333,7 @@ jobs: make_package: 1 package_suffix: "-Win10" qt_version: 6.11.0 + qt_arch: win64_msvc2022_64 qt_modules: qtimageformats qtmultimedia qtwebsockets type: Release @@ -393,6 +398,7 @@ jobs: if: matrix.os == 'macOS' && steps.restore_qt.outputs.cache-hit != 'true' uses: jurplel/install-qt-action@v4 with: + arch: ${{ matrix.qt_arch }} cache: false dir: ${{ github.workspace }} modules: ${{ matrix.qt_modules }} @@ -415,6 +421,7 @@ jobs: with: # Qt 6.11.0 only works with aqtinstall directly from git until aqtinstall 3.4 is released aqtsource: git+https://github.com/miurahr/aqtinstall.git + arch: ${{ matrix.qt_arch }} cache: true modules: ${{ matrix.qt_modules }} version: ${{ steps.resolve_qt_version.outputs.version }} diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 5384c9e64..b479322d0 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -56,9 +56,8 @@ jobs: - name: "Set up Docker buildx" uses: docker/setup-buildx-action@v4 - - name: "Login to GitHub Container Registry (GHCR)" - if: github.event_name == 'release' && github.event.release.prerelease == false - id: login + - name: "Login to GitHub Container Registry" + if: contains(github.event.release.tag_name, 'Release') && github.event.release.target_commitish == 'master' uses: docker/login-action@v4 with: password: ${{ github.token }} @@ -74,5 +73,5 @@ jobs: context: . labels: ${{ steps.metadata.outputs.labels }} platforms: linux/amd64,linux/arm64 - push: ${{ steps.login.outcome == 'success' }} + push: ${{ github.ref_type == 'tag' }} tags: ${{ steps.metadata.outputs.tags }}