From 05bdf525a81efda78c82331eba2a0ada692fc30b Mon Sep 17 00:00:00 2001 From: Souma <101255979+5ouma@users.noreply.github.com> Date: Sat, 9 Nov 2024 15:08:49 +0900 Subject: [PATCH] ci(meta): Quote meta file variable (#14) Shell will interpret lines separately. --- .github/workflows/preview.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 9c360ae..d1b8873 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -23,7 +23,7 @@ jobs: uses: ./.github/actions/setup-bun-with-cache - name: 👾 Create a Meta File - run: echo ${{ vars.META_FILE }} >meta.json + run: echo '${{ vars.META_FILE }}' >meta.json - name: 🛠️ Build run: bun run build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4a1e8df..ec48347 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: uses: ./.github/actions/setup-bun-with-cache - name: 👾 Create a Meta File - run: echo ${{ vars.META_FILE }} >meta.json + run: echo '${{ vars.META_FILE }}' >meta.json - name: 🛠️ Build run: bun run build