File tree Expand file tree Collapse file tree 5 files changed +19
-4
lines changed Expand file tree Collapse file tree 5 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 2323 env :
2424 COMPILER : ${{ matrix.compiler }}
2525 TAR_CMD : tar_nosuid
26+ GHA_OS : ${{ matrix.os }}
2627
2728 strategy :
2829 matrix :
5253 submodules : ' recursive'
5354
5455 - name : apt_get_update
55- run : sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
56+ run : scripts/ft- apt-get- update.sh
5657
5758 - name : Workaround for tar not being able to access /var/cache/apt/archives
5859 run : |
Original file line number Diff line number Diff line change 2323 env :
2424 COMPILER : ${{ matrix.compiler }}
2525 TAR_CMD : tar_nosuid
26+ GHA_OS : ${{ matrix.os }}
2627
2728 strategy :
2829 matrix :
5253 submodules : ' recursive'
5354
5455 - name : apt_get_update
55- run : sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
56+ run : scripts/ft- apt-get- update.sh
5657
5758 - name : Workaround for tar not being able to access /var/cache/apt/archives
5859 run : |
Original file line number Diff line number Diff line change 2323 env :
2424 COMPILER : ${{ matrix.compiler }}
2525 TAR_CMD : tar_nosuid
26+ GHA_OS : ${{ matrix.os }}
2627
2728 strategy :
2829 matrix :
4849 submodules : ' recursive'
4950
5051 - name : apt_get_update
51- run : sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
52+ run : scripts/ft- apt-get- update.sh
5253
5354 - name : Get Date
5455 id : get-date
Original file line number Diff line number Diff line change 2323 env :
2424 COMPILER : ${{ matrix.compiler }}
2525 TAR_CMD : tar_nosuid
26+ GHA_OS : ${{ matrix.os }}
2627
2728 strategy :
2829 matrix :
3738 submodules : ' recursive'
3839
3940 - name : apt_get_update
40- run : sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
41+ run : scripts/ft- apt-get- update.sh
4142
4243 - name : Get Date
4344 id : get-date
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ if [ " ${GHA_OS} " == " ubuntu-18.04" ]
4+ then
5+ sudo gem install apt-spy2 -v 0.7.2
6+ else
7+ sudo gem install apt-spy2
8+ fi
9+ sudo apt-spy2 check
10+ sudo apt-spy2 fix --commit
11+ sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
You can’t perform that action at this time.
0 commit comments