From 5a2c88fb28a78e0fa56a306ef22ddd2b50bd5a11 Mon Sep 17 00:00:00 2001 From: fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Sat, 18 Jan 2025 20:22:16 +0800 Subject: [PATCH] ci: finalise the sanitation test and remove it from lint & test build --- .github/workflows/ci.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b5fc8089..6319ea4ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,17 +32,6 @@ jobs: key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | ${{ runner.os }}-pnpm-store- - - name: Sanitize Owner and Platform name - run: | - echo "OWNER_LC=$(echo '${OWNER}' | tr '[:upper:]' '[:lower:]')" >>${GITHUB_ENV} - echo "PLATFORM=$(echo '${PLATFORM}' | sed 's|/|-|g')" >>${GITHUB_ENV} - env: - OWNER: 'Fallenbagel' - PLATFORM: 'linux/amd64' - - name: Test Sanitized Variables - run: | - echo "Sanitized Owner: $OWNER_LC" - echo "Sanitized Platform: $PLATFORM" - name: Install dependencies env: HUSKY: 0 @@ -84,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 }}