Skip to content

Commit 7656bf6

Browse files
committed
use newer ubuntu for old varnish
1 parent b36a169 commit 7656bf6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595

9696
varnish5:
9797
name: PHP ${{ matrix.php }} Legacy Varnish 5
98-
runs-on: ubuntu-18.04
98+
runs-on: ubuntu-20.04
9999
env:
100100
VARNISH_VERSION: '5.1'
101101
VARNISH_MODULES_VERSION: '0.14.0'
@@ -132,7 +132,7 @@ jobs:
132132

133133
varnish4:
134134
name: PHP ${{ matrix.php }} Legacy Varnish 4
135-
runs-on: ubuntu-18.04
135+
runs-on: ubuntu-20.04
136136
env:
137137
VARNISH_VERSION: '4.1'
138138
VARNISH_MODULES_VERSION: '' # varnish modules compilation fails, not sure why

.github/workflows/setup-varnish-legacy.sh

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set -e
44
echo "### Installing Legacy Varnish $VARNISH_VERSION ###"
5+
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
56
sudo apt-get update
67
sudo apt-get install debian-archive-keyring curl gnupg apt-transport-https
78
VARNISH_VERSION=$VARNISH_VERSION bash -c 'curl -s -L https://packagecloud.io/varnishcache/varnish${VARNISH_VERSION//./}/gpgkey' | sudo apt-key add -

0 commit comments

Comments
 (0)