File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,14 @@ jobs:
1919 sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*.repo
2020 sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*.repo
2121
22- - name : Install git
23- run : yum -y install git
22+ - name : Install git and dependencies
23+ run : yum -y install git python2 python2-pip python-six
2424
25- - name : Checkout code
26- uses : actions/checkout@v3
25+ - name : Clone repository
26+ run : git clone --depth 1 --branch ${{ github.ref_name }} https://github.com/${{ github.repository }}.git .
2727
28- - name : Install dependencies
29- run : |
30- yum -y install python2 python2-pip python-six
31- pip2 install netaddr
28+ - name : Install Python dependencies
29+ run : pip2 install netaddr
3230
3331 - name : Verify Python 2.7 imports
3432 run : |
You can’t perform that action at this time.
0 commit comments