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
This commit is contained in:
Fallenbagel
2025-01-18 20:23:03 +08:00
committed by GitHub
parent 549082c53e
commit 17d93a8cb9

View File

@@ -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 }}