From f47a9c91d2ec7bbd4141cddd10358eda759dc351 Mon Sep 17 00:00:00 2001 From: Kbscript Date: Mon, 23 Dec 2024 21:52:25 +0800 Subject: [PATCH] fix: yaml indent error --- .github/workflows/release.yml | 50 +++++++++++++++++------------------ packages/core/src/audio.ts | 0 2 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 packages/core/src/audio.ts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24ea20e563..5cff75b883 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,14 +58,14 @@ jobs: - name: Install and Link Engine for Lottie run: | - cd toolkit + cd lottie pnpm install pnpm link ../packages/galacean pnpm build - name: Install and Link Engine for Spine run: | - cd toolkit + cd spine pnpm install pnpm link ../packages/galacean pnpm build @@ -82,7 +82,7 @@ jobs: echo "{\"name\": \"@galacean/engine-platform-adapter-release\", \"version\": \"$VERSION\"}" > ${{ github.workspace }}/platform-adapter/package.json - name: Bundle polyfill and engine - uses: galacean/platform-adapter@tag + uses: galacean/platform-adapter@main env: ADAPTER_BUNDLE_SETTINGS: | { @@ -103,25 +103,25 @@ jobs: "outputDir": "${{ github.workspace }}/platform-adapter/dist" } - - name: Release engine packages and Sync to CDN - uses: galacean/publish@v0.2.0 - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - NPM_CONFIG_PROVENANCE: true - OASISBE_UPLOAD_URL: https://oasisbe.alipay.com/api/file/no-auth/crypto/upload - OASISBE_REQUEST_HEADER: ${{secrets.OASISBE_REQUEST_HEADER}} - OASISBE_PUBLIC_KEY: ${{secrets.OASISBE_PUBLIC_KEY}} - - - name: Sync Platform Adapter to CDN - uses: galacean/publish@v0.2.0 - with: - publish: false - packages: | - platform-adapter - - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - NPM_CONFIG_PROVENANCE: true - OASISBE_UPLOAD_URL: https://oasisbe.alipay.com/api/file/no-auth/crypto/upload - OASISBE_REQUEST_HEADER: ${{secrets.OASISBE_REQUEST_HEADER}} - OASISBE_PUBLIC_KEY: ${{secrets.OASISBE_PUBLIC_KEY}} + - name: Release engine packages and Sync to CDN + uses: galacean/publish@v0.2.0 + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + NPM_CONFIG_PROVENANCE: true + OASISBE_UPLOAD_URL: https://oasisbe.alipay.com/api/file/no-auth/crypto/upload + OASISBE_REQUEST_HEADER: ${{secrets.OASISBE_REQUEST_HEADER}} + OASISBE_PUBLIC_KEY: ${{secrets.OASISBE_PUBLIC_KEY}} + + - name: Sync Platform Adapter to CDN + uses: galacean/publish@v0.2.0 + with: + publish: false + packages: | + platform-adapter + + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + NPM_CONFIG_PROVENANCE: true + OASISBE_UPLOAD_URL: https://oasisbe.alipay.com/api/file/no-auth/crypto/upload + OASISBE_REQUEST_HEADER: ${{secrets.OASISBE_REQUEST_HEADER}} + OASISBE_PUBLIC_KEY: ${{secrets.OASISBE_PUBLIC_KEY}} diff --git a/packages/core/src/audio.ts b/packages/core/src/audio.ts new file mode 100644 index 0000000000..e69de29bb2