Skip to content

Commit

Permalink
Display local manifests by default
Browse files Browse the repository at this point in the history
To disable this, set a secret called DISPLAY_FALSE
  • Loading branch information
sounddrill31 authored Jun 19, 2024
1 parent 87b367c commit 669247b
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,14 @@ jobs:
echo "Build Command: ${{ github.event.inputs.BUILD_COMMAND }}"
echo "Clean Build: ${{ github.event.inputs.CLEAN_BUILD }}"
echo "::endgroup::"
echo "Displaying Local Manifests"
if [[ -z "${{ secrets.DISPLAY_FALSE }}" ]]; then
git clone ${{ github.event.inputs.LOCAL_MANIFEST }} --depth 1 -b ${{ github.event.inputs.LOCAL_MANIFEST_BRANCH }} local_manifests
cat local_manifests/*.xml
else
echo "Displaying is disabled through secrets."
fi
outputs:
PROJECTFOLDER: ${{ steps.proj-variables.outputs.PROJECTFOLDER }}
PROJECTID: ${{ steps.proj-variables.outputs.PROJECTID }}
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,14 @@ jobs:
echo "Build Command: ${{ github.event.inputs.BUILD_COMMAND }}"
echo "Clean Build: ${{ github.event.inputs.CLEAN_BUILD }}"
echo "::endgroup::"
echo "Displaying Local Manifests"
if [[ -z "${{ secrets.DISPLAY_FALSE }}" ]]; then
git clone ${{ github.event.inputs.LOCAL_MANIFEST }} --depth 1 -b ${{ github.event.inputs.LOCAL_MANIFEST_BRANCH }} local_manifests
cat local_manifests/*.xml
else
echo "Displaying is disabled through secrets."
fi
outputs:
PROJECTFOLDER: ${{ steps.proj-variables.outputs.PROJECTFOLDER }}
PROJECTID: ${{ steps.proj-variables.outputs.PROJECTID }}
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/twrp-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ jobs:
echo "Clean Build: ${{ github.event.inputs.CLEAN_BUILD }}"
echo "::endgroup::"
echo "Displaying Local Manifests"
if [[ -z "${{ secrets.DISPLAY_FALSE }}" ]]; then
git clone ${{ github.event.inputs.LOCAL_MANIFEST }} --depth 1 -b ${{ github.event.inputs.LOCAL_MANIFEST_BRANCH }} local_manifests
cat local_manifests/*.xml
else
echo "Displaying is disabled through secrets."
fi
- name: Set Project variables
id: proj-variables
run: |
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/twrp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ jobs:
echo "Clean Build: ${{ github.event.inputs.CLEAN_BUILD }}"
echo "::endgroup::"
echo "Displaying Local Manifests"
if [[ -z "${{ secrets.DISPLAY_FALSE }}" ]]; then
git clone ${{ github.event.inputs.LOCAL_MANIFEST }} --depth 1 -b ${{ github.event.inputs.LOCAL_MANIFEST_BRANCH }} local_manifests
cat local_manifests/*.xml
else
echo "Displaying is disabled through secrets."
fi
- name: Set Project variables
id: proj-variables
run: |
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ Extra flags for crave binary
Custom Upload limit for telegram-upload. Default is 2147483648
### GH_UPLOAD_LIMIT (Optional)
Custom Upload limit for github releases. Default is 2147483648
### DISPLAY_FALSE (Optional)
This workflow displays your local manifests by default. To disable this, create this secret with any data

## Inputs Explanation
### Base Project
Expand Down

0 comments on commit 669247b

Please sign in to comment.