From b6cf034b17287974bf2dca1aed609eaa2c70579e Mon Sep 17 00:00:00 2001 From: SoundDrill31 <84176052+sounddrill31@users.noreply.github.com> Date: Sun, 4 Aug 2024 23:43:59 +0530 Subject: [PATCH] Try to use a here-document --- .github/workflows/main.yml | 7 ++++++- .github/workflows/selfhosted.yml | 7 ++++++- .github/workflows/twrp-legacy.yml | 7 ++++++- .github/workflows/twrp.yml | 7 ++++++- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7965b255..de4a2ab9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -151,7 +151,12 @@ jobs: if [[ "${{ github.event.inputs.LOCAL_MANIFEST }}" =~ \.xml(/)?$ ]]; then local_manifest_url="${{ github.event.inputs.LOCAL_MANIFEST }}" local_manifest_url="${local_manifest_url%/}" # remove trailing slash if it exists - export LOCAL_MANIFEST='mkdir -p .repo/local_manifests; rm -rf .repo/local_manifests/*; curl -o .repo/local_manifests/local_manifest.xml '"${local_manifest_url}" + export LOCAL_MANIFEST=$(cat <