From 17d93a8cb93864e3d58358f9c022cfe464f369c6 Mon Sep 17 00:00:00 2001 From: Fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Sat, 18 Jan 2025 20:23:03 +0800 Subject: [PATCH] ci: fix typo when passing sanitised platform to github env (#1282) * ci: fix typo when passing sanitised platform to github env * ci: hardcode a platform & owner for testing sanitation * ci: fix typo * ci: fix typo * ci: fix yet another typo * ci: fix yet another typo * ci: another typo when echoing the tested variables fixed * ci: properly echo the values from github env * ci: attempt to echo out the sanitised variables * ci: finalise the sanitation test and remove it from lint & test build --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64b33c706..6319ea4ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,7 +73,7 @@ jobs: - name: Sanitize Owner and Platform name run: | echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV} - echo "PLATFORM=$(echo '${PLATFORM}' | sed 's|/|-|g')" >> $GITHUB_ENV + echo "PLATFORM=${PLATFORM,,} | sed 's|/|-|g')" >>${GITHUB_ENV} env: OWNER: ${{ github.repository_owner }} PLATFORM: ${{ matrix.platform }}