Переглянути джерело

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."