소스 검색

Update auto synx demo actions

杜府 3 년 전
부모
커밋
2794776020
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .github/workflows/auto-sync-demo.yml

+ 1 - 1
.github/workflows/auto-sync-demo.yml

@@ -43,7 +43,7 @@ jobs:
                   git config --global user.email 'GitHub Actions'
                   sed -i 's|../../components|stdf|g' src/App.svelte
                   sed -i 's|../../../../components|stdf|g' src/pages/**/*.svelte
-                  sed -i '15a\\n        "stdf": "${{ steps.version.outputs.version }}",\n' package.json
+                  sed -i '15a\        "stdf": "${{ steps.version.outputs.version }}",' package.json
                   git add .
                   git commit -am "Github Actions auto commit: update demo from stdf."