aboutsummaryrefslogtreecommitdiffstats
path: root/.github/actions/prepare_vm
diff options
context:
space:
mode:
authorNikita Kozlovskiy <nikitka@gmail.com>2023-08-10 19:43:17 +0300
committernkozlovskiy <nmk@ydb.tech>2023-08-10 21:21:11 +0300
commit993b14e7a88dd7a0de9b1c96a9dd5cc4bcc38473 (patch)
treebd96bbe2a097b9e4536af589f1719918c1918462 /.github/actions/prepare_vm
parentea943290d0e41b41d577fc00e8953dbb963a8cc4 (diff)
downloadydb-993b14e7a88dd7a0de9b1c96a9dd5cc4bcc38473.tar.gz
fix prewarm cache and docker build, also add ubuntu-toolchain-r/test …
fix prewarm cache and docker build, also add ubuntu-toolchain-r/test … Pull Request resolved: #326
Diffstat (limited to '.github/actions/prepare_vm')
-rw-r--r--.github/actions/prepare_vm/action.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/actions/prepare_vm/action.yaml b/.github/actions/prepare_vm/action.yaml
index eb8febbac0..ce4775a9eb 100644
--- a/.github/actions/prepare_vm/action.yaml
+++ b/.github/actions/prepare_vm/action.yaml
@@ -10,6 +10,12 @@ runs:
run: |
echo "distro_name=$(lsb_release -si)" | tee -a $GITHUB_OUTPUT
echo "distro_release=$(lsb_release -sr)" | tee -a $GITHUB_OUTPUT
+ - name: Add ubuntu toolchain PPA for 18.04
+ shell: bash
+ if: steps.init.outputs.distro_name == 'Ubuntu' && steps.init.outputs.distro_release == '18.04'
+ run: |
+ apt-get install -y --no-install-recommends software-properties-common
+ add-apt-repository ppa:ubuntu-toolchain-r/test
- name: Add cmake
shell: bash
if: steps.init.outputs.distro_name == 'Ubuntu' && contains(fromJSON('["18.04", "20.04"]'), steps.init.outputs.distro_release)