Skip to content

Commit

Permalink
Apply fix properly everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
sounddrill31 authored Aug 5, 2024
1 parent 14bfb53 commit c65efbc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
export 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/* || true && curl -o .repo/local_manifests/local_manifest.xml "${local_manifest_url}")
else
export LOCAL_MANIFEST="git clone ${{ github.event.inputs.LOCAL_MANIFEST }} --depth 1 -b ${github.event.inputs.LOCAL_MANIFEST_BRANCH} local_manifests"
export LOCAL_MANIFEST="git clone ${{ github.event.inputs.LOCAL_MANIFEST }} --depth 1 -b ${{github.event.inputs.LOCAL_MANIFEST_BRANCH}} local_manifests"
fi
echo "Building on ${{ github.event.inputs.BASE_PROJECT }} project"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ on:
LOCAL_MANIFEST:
description: "Personal local manifest [repository or raw]:"
required: true
default: 'https://github.com/iamrh1819/local_manifests'
default: 'https://github.com/sounddrill31/local_manifests_oxygen'
LOCAL_MANIFEST_BRANCH:
description: "Personal local manifest's branch:"
required: false
default: 'A13'
default: 'lineage-21-qpr3'
DEVICE_NAME:
description: "Device's codename:"
required: true
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
export 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/* || true && curl -o .repo/local_manifests/local_manifest.xml "${local_manifest_url}")
else
export LOCAL_MANIFEST="git clone ${{ github.event.inputs.LOCAL_MANIFEST }} --depth 1 -b ${{github.event.inputs.LOCAL_MANIFEST_BRANCH}} local_manifests"
export LOCAL_MANIFEST="git clone ${{ github.event.inputs.LOCAL_MANIFEST }} --depth 1 -b ${{github.event.inputs.LOCAL_MANIFEST_BRANCH}} .repo/local_manifests"
fi
echo "Building on ${{ github.event.inputs.BASE_PROJECT }} project"
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
echo "Displaying Local Manifests"
if [[ -z "${{ secrets.DISPLAY_FALSE }}" ]]; then
$LOCAL_MANIFEST
cat local_manifests/*.xml
cat .repo/local_manifests/*.xml
else
echo "Displaying is disabled through secrets."
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/twrp-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
export 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/* || true && curl -o .repo/local_manifests/local_manifest.xml "${local_manifest_url}")
else
export LOCAL_MANIFEST="git clone ${{ github.event.inputs.LOCAL_MANIFEST }} --depth 1 -b ${github.event.inputs.LOCAL_MANIFEST_BRANCH} local_manifests"
export LOCAL_MANIFEST="git clone ${{ github.event.inputs.LOCAL_MANIFEST }} --depth 1 -b ${{github.event.inputs.LOCAL_MANIFEST_BRANCH}} local_manifests"
fi
echo "Building on ${{ github.event.inputs.BASE_PROJECT }} project"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/twrp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
export 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/* || true && curl -o .repo/local_manifests/local_manifest.xml "${local_manifest_url}")
else
export LOCAL_MANIFEST="git clone ${{ github.event.inputs.LOCAL_MANIFEST }} --depth 1 -b ${github.event.inputs.LOCAL_MANIFEST_BRANCH} local_manifests"
export LOCAL_MANIFEST="git clone ${{ github.event.inputs.LOCAL_MANIFEST }} --depth 1 -b ${{github.event.inputs.LOCAL_MANIFEST_BRANCH}} local_manifests"
fi
echo "Building on ${{ github.event.inputs.BASE_PROJECT }} project"
Expand Down

0 comments on commit c65efbc

Please sign in to comment.