diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b28eff1b..74ace9ef2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,14 @@ on: branches: - master pull_request: - + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + defaults: run: shell: bash @@ -93,6 +100,13 @@ jobs: runs-on: ubuntu-latest container: '${{ matrix.container_os }}:${{ matrix.container_os_version }}' steps: + - name: Change centos archive repository + run: | + sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo + sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo + sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo + if: matrix.container_os == 'centos' + - name: Install Qt run: | yum update -y @@ -147,8 +161,8 @@ jobs: strategy: fail-fast: false matrix: - macos-version: ['11'] - python-version: ['3.6'] + macos-version: ['12'] + python-version: ['3.9'] qt-version: ['5.9.*'] configuration: ['release','debug'] include: