Skip to content

Commit 5331f00

Browse files
MinyazevRmrbean-bremen
authored andcommitted
Change centos archive repository and add node16 support
1 parent c779454 commit 5331f00

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ on:
55
branches:
66
- master
77
pull_request:
8-
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
13+
env:
14+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
15+
916
defaults:
1017
run:
1118
shell: bash
@@ -93,6 +100,13 @@ jobs:
93100
runs-on: ubuntu-latest
94101
container: '${{ matrix.container_os }}:${{ matrix.container_os_version }}'
95102
steps:
103+
- name: Change centos archive repository
104+
run: |
105+
sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
106+
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
107+
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
108+
if: matrix.container_os == 'centos'
109+
96110
- name: Install Qt
97111
run: |
98112
yum update -y
@@ -147,8 +161,8 @@ jobs:
147161
strategy:
148162
fail-fast: false
149163
matrix:
150-
macos-version: ['11']
151-
python-version: ['3.6']
164+
macos-version: ['12']
165+
python-version: ['3.9']
152166
qt-version: ['5.9.*']
153167
configuration: ['release','debug']
154168
include:

0 commit comments

Comments
 (0)