fix issues shown by bugbot

This commit is contained in:
Bruno Alexandre Rosa 2025-12-25 11:20:16 -03:00
parent 37ff486bc0
commit b7e03b38a3

View file

@ -343,7 +343,7 @@ jobs:
needs: configure needs: configure
runs-on: ${{matrix.runner}} runs-on: ${{matrix.runner}}
env: env:
CACHE: ${{github.workspace}}/.cache/ CCACHE_DIR: ${{github.workspace}}/.cache/
steps: steps:
- name: Checkout - name: Checkout
@ -369,9 +369,9 @@ jobs:
env: env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
with: with:
path: ${{env.CACHE}} path: ${{env.CCACHE_DIR}}
key: ccache-${{matrix.runner}}-${{matrix.soc}}-${{matrix.type}} key: ccache-${{matrix.runner}}-${{matrix.soc}}-${{matrix.type}}-${{env.BRANCH_NAME}}
restore-keys: ccache-${{matrix.runner}}-${{matrix.soc}}-${{matrix.type}} restore-keys: ccache-${{matrix.runner}}-${{matrix.soc}}-${{matrix.type}}-
- name: Install Qt ${{matrix.qt_version}} - name: Install Qt ${{matrix.qt_version}}
uses: jurplel/install-qt-action@v4 uses: jurplel/install-qt-action@v4
@ -410,11 +410,13 @@ jobs:
run: .ci/compile.sh --server --test --vcpkg run: .ci/compile.sh --server --test --vcpkg
- name: Save compiler cache (ccache) - name: Save compiler cache (ccache)
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master' && matrix.use_ccache == 1
uses: actions/cache/save@v5 uses: actions/cache/save@v5
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
with: with:
path: ${{env.CACHE}} path: ${{env.CCACHE_DIR}}
key: ${{ steps.ccache_restore.outputs.cache-primary-key }} key: ccache-${{matrix.runner}}-${{matrix.soc}}-${{matrix.type}}-${{env.BRANCH_NAME}}
- name: Sign app bundle - name: Sign app bundle
if: matrix.os == 'macOS' && matrix.make_package && (github.ref == 'refs/heads/master' || needs.configure.outputs.tag != null) if: matrix.os == 'macOS' && matrix.make_package && (github.ref == 'refs/heads/master' || needs.configure.outputs.tag != null)