From cebead2063f09a9342a07584e6d8cc983f6122a2 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 12 Sep 2024 12:09:19 +0200 Subject: [PATCH 1/6] feat: set custom repositories --- action.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/action.yaml b/action.yaml index 00ea841..677ff45 100644 --- a/action.yaml +++ b/action.yaml @@ -346,6 +346,20 @@ runs: shell: bash run: rm utils.R + - name: Set repositories + run: | + cat > ${HOME}/.Rprofile < Date: Thu, 12 Sep 2024 12:58:54 +0200 Subject: [PATCH 2/6] chore: try noble instead of jammy --- action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index 677ff45..80306ee 100644 --- a/action.yaml +++ b/action.yaml @@ -351,8 +351,8 @@ runs: cat > ${HOME}/.Rprofile < Date: Thu, 12 Sep 2024 13:04:36 +0200 Subject: [PATCH 3/6] chore: try focal instead of noble --- action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index 80306ee..1dd33c2 100644 --- a/action.yaml +++ b/action.yaml @@ -351,8 +351,8 @@ runs: cat > ${HOME}/.Rprofile < Date: Thu, 12 Sep 2024 13:18:30 +0200 Subject: [PATCH 4/6] chore: restore jammy --- action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index 1dd33c2..677ff45 100644 --- a/action.yaml +++ b/action.yaml @@ -351,8 +351,8 @@ runs: cat > ${HOME}/.Rprofile < Date: Thu, 12 Sep 2024 15:34:39 +0200 Subject: [PATCH 5/6] fix: get ubuntu release name from lsb_release Co-authored-by: cicdguy <26552821+cicdguy@users.noreply.github.com> Signed-off-by: walkowif <59475134+walkowif@users.noreply.github.com> --- action.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index 677ff45..85538ce 100644 --- a/action.yaml +++ b/action.yaml @@ -348,11 +348,12 @@ runs: - name: Set repositories run: | + OS_CODENAME=$(lsb_release --codename --short) cat > ${HOME}/.Rprofile < Date: Thu, 12 Sep 2024 15:35:49 +0200 Subject: [PATCH 6/6] fix: pipe lsb_release to tail --- action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 85538ce..9dc5eca 100644 --- a/action.yaml +++ b/action.yaml @@ -348,7 +348,7 @@ runs: - name: Set repositories run: | - OS_CODENAME=$(lsb_release --codename --short) + OS_CODENAME=$(lsb_release --codename --short | tail) cat > ${HOME}/.Rprofile <