Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <[email protected]>
  • Loading branch information
leleliu008 committed Jan 30, 2024
1 parent ecab43c commit 7ad6bd7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,16 @@ on:
jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
tag: ['7.5.1804', '8.4.2105']

container: centos:${{ matrix.tag }}
container: centos:8.4.2105

steps:
- run: yum -y update && yum -y install curl gcc-c++ git
if: ${{ matrix.tag == '7.5.1804' }}

# https://stackoverflow.com/questions/70926799/centos-through-vm-no-urls-in-mirrorlist
- run: |
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*
dnf -y update
dnf -y install curl gcc-c++ git
if: ${{ matrix.tag == '8.4.2105' }}
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/opensuse-leap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
tag: [15.1, 15.2, 15.3, 15.4]
tag: [15.3, 15.4]

container: opensuse/leap:${{ matrix.tag }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wsl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
# https://github.com/marketplace/actions/setup-wsl
- uses: Vampire/setup-wsl@v2
- uses: Vampire/setup-wsl@v2.0.2
with:
distribution: ${{ matrix.distribution }}

Expand Down

0 comments on commit 7ad6bd7

Please sign in to comment.