diff --git a/.github/workflows/release-standalone-package.yml b/.github/workflows/release-standalone-package.yml index 1a6ef37c4c..a9b539ef03 100644 --- a/.github/workflows/release-standalone-package.yml +++ b/.github/workflows/release-standalone-package.yml @@ -41,9 +41,10 @@ jobs: id: sanitize uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: + result-encoding: string script: | const packageName = '${{ github.event.inputs.package }}'; - const sanitizedName = packageName.replace(/[/:]/g, '-'); + const sanitizedName = packageName.replace(/[/:@"]/g, '-'); return `${{ github.sha }}-${sanitizedName}-build`; - name: Checkout