From 3df2b9725a055102f654b8f1492f5b2a8239fce8 Mon Sep 17 00:00:00 2001 From: Camila Macedo <7708031+camilamacedo86@users.noreply.github.com> Date: Wed, 16 Apr 2025 18:33:09 +0100 Subject: [PATCH] fix(ci): Fix demo-update command by sanitize env for asciinema upload Change script that generates demo to cleanup envvars to avoid issue faced in the CI to upload the records. --- .github/workflows/catalogd-demo.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/catalogd-demo.yaml b/.github/workflows/catalogd-demo.yaml index d72e2423a..c73157648 100644 --- a/.github/workflows/catalogd-demo.yaml +++ b/.github/workflows/catalogd-demo.yaml @@ -20,5 +20,11 @@ jobs: with: go-version-file: "go.mod" - name: Run Demo Update - run: make demo-update + run: | + env -i \ + HOME="$HOME" \ + PATH="$PATH" \ + TERM="xterm-256color" \ + SHELL="/bin/bash" \ + make demo-update