Skip to content

Commit

Permalink
Display run parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sounddrill31 authored May 30, 2024
1 parent fcb3b45 commit 304c93a
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,20 @@ jobs:
PROJECTID: ${{ steps.proj-variables.outputs.PROJECTID }}
REPO_INIT: ${{ steps.proj-variables.outputs.REPO_INIT }}

- name: Display Run Parameters # Credit to azwhikaru for this part
run: |
echo "::group::User Environment Variables"
echo "Base Project: ${{ github.event.inputs.BASE_PROJECT }}"
echo "Extra Repo Init: ${{ github.event.inputs.BUILD_DIFFERENT_ROM }}"
echo "Removals: ${{ github.event.inputs.REMOVALS }}"
echo "Local Manifest: ${{ github.event.inputs.LOCAL_MANIFEST }}"
echo "Local Manifest Branch: ${{ github.event.inputs.LOCAL_MANIFEST_BRANCH }}"
echo "Device Name: ${{ github.event.inputs.DEVICE_NAME }}"
echo "Makefile Name: ${{ github.event.inputs.PRODUCT_NAME }}"
echo "Build Target: ${{ github.event.inputs.BUILD_COMMAND }}-${{ github.event.inputs.BUILD_TYPE }}"
echo "Clean Build: ${{ github.event.inputs.CLEAN_BUILD }}"
echo "::endgroup::"
test:
name: Test Local Manifests
needs: prepare
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,20 @@ jobs:
PROJECTID: ${{ steps.proj-variables.outputs.PROJECTID }}
REPO_INIT: ${{ steps.proj-variables.outputs.REPO_INIT }}

- name: Display Run Parameters # Credit to azwhikaru for this part
run: |
echo "::group::User Environment Variables"
echo "Base Project: ${{ github.event.inputs.BASE_PROJECT }}"
echo "Extra Repo Init: ${{ github.event.inputs.BUILD_DIFFERENT_ROM }}"
echo "Removals: ${{ github.event.inputs.REMOVALS }}"
echo "Local Manifest: ${{ github.event.inputs.LOCAL_MANIFEST }}"
echo "Local Manifest Branch: ${{ github.event.inputs.LOCAL_MANIFEST_BRANCH }}"
echo "Device Name: ${{ github.event.inputs.DEVICE_NAME }}"
echo "Makefile Name: ${{ github.event.inputs.PRODUCT_NAME }}"
echo "Build Target: ${{ github.event.inputs.BUILD_COMMAND }}-${{ github.event.inputs.BUILD_TYPE }}"
echo "Clean Build: ${{ github.event.inputs.CLEAN_BUILD }}"
echo "::endgroup::"
test:
name: Test Local Manifests
needs: prepare
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/twrp-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,20 @@ jobs:
PROJECTID: ${{ steps.proj-variables.outputs.PROJECTID }}
REPO_INIT: ${{ steps.proj-variables.outputs.REPO_INIT }}

- name: Display Run Parameters # Credit to azwhikaru for this part
run: |
echo "::group::User Environment Variables"
echo "Base Project: ${{ github.event.inputs.BASE_PROJECT }}"
echo "Extra Repo Init: ${{ github.event.inputs.BUILD_DIFFERENT_ROM }}"
echo "Removals: ${{ github.event.inputs.REMOVALS }}"
echo "Local Manifest: ${{ github.event.inputs.LOCAL_MANIFEST }}"
echo "Local Manifest Branch: ${{ github.event.inputs.LOCAL_MANIFEST_BRANCH }}"
echo "Device Name: ${{ github.event.inputs.DEVICE_NAME }}"
echo "Makefile Name: ${{ github.event.inputs.PRODUCT_NAME }}"
echo "Build Target: ${{ github.event.inputs.BUILD_COMMAND }}-${{ github.event.inputs.BUILD_TYPE }}"
echo "Clean Build: ${{ github.event.inputs.CLEAN_BUILD }}"
echo "::endgroup::"
test:
name: Test Local Manifests
needs: prepare
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/twrp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,20 @@ jobs:
PROJECTID: ${{ steps.proj-variables.outputs.PROJECTID }}
REPO_INIT: ${{ steps.proj-variables.outputs.REPO_INIT }}

- name: Display Run Parameters # Credit to azwhikaru for this part
run: |
echo "::group::User Environment Variables"
echo "Base Project: ${{ github.event.inputs.BASE_PROJECT }}"
echo "Extra Repo Init: ${{ github.event.inputs.BUILD_DIFFERENT_ROM }}"
echo "Removals: ${{ github.event.inputs.REMOVALS }}"
echo "Local Manifest: ${{ github.event.inputs.LOCAL_MANIFEST }}"
echo "Local Manifest Branch: ${{ github.event.inputs.LOCAL_MANIFEST_BRANCH }}"
echo "Device Name: ${{ github.event.inputs.DEVICE_NAME }}"
echo "Makefile Name: ${{ github.event.inputs.PRODUCT_NAME }}"
echo "Build Target: ${{ github.event.inputs.BUILD_COMMAND }}-${{ github.event.inputs.BUILD_TYPE }}"
echo "Clean Build: ${{ github.event.inputs.CLEAN_BUILD }}"
echo "::endgroup::"
test:
name: Test Local Manifests
needs: prepare
Expand Down

0 comments on commit 304c93a

Please sign in to comment.