Skip to content

Commit

Permalink
Fix "up to 10 inputs" error
Browse files Browse the repository at this point in the history
Fix the following error by removing unused variables.
Invalid workflow file
you may only define up to 10 `inputs` for a `workflow_dispatch` event
  • Loading branch information
polygraphene authored Oct 11, 2024
1 parent 7f5ebac commit 0852e34
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/Recovery Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ on:
description: 'DEVICE_PATH'
required: true
default: 'device/lenovo/TB320FC'
COMMON_TREE_URL:
description: 'COMMON_TREE_URL (if no common tree, leave blank)'
required: false
COMMON_PATH:
description: 'COMMON_PATH (if no common tree, leave blank)'
required: false
DEVICE_NAME:
description: 'DEVICE_NAME'
required: true
Expand Down Expand Up @@ -92,8 +86,7 @@ jobs:

- name: Setup SSH Keys
if: ${{ startsWith(github.event.inputs.MANIFEST_URL, '[email protected]') ||
startsWith(github.event.inputs.DEVICE_TREE_URL, '[email protected]') ||
startsWith(github.event.inputs.COMMON_TREE_URL, '[email protected]') }}
startsWith(github.event.inputs.DEVICE_TREE_URL, '[email protected]') }}
uses: webfactory/[email protected]
with:
ssh-private-key: |
Expand Down Expand Up @@ -133,14 +126,6 @@ jobs:
git clone ${{ github.event.inputs.DEVICE_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
working-directory: ${{ steps.pwd.outputs.workspace-folder }}

- name: Clone common tree
if: |
github.event.inputs.COMMON_TREE_URL != null
&& github.event.inputs.COMMON_PATH != null
run: |
git clone ${{ github.event.inputs.COMMON_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.COMMON_PATH }}
working-directory: ${{ steps.pwd.outputs.workspace-folder }}

- name: Check Build Tree
uses: haya14busa/action-cond@v1
id: buildtree
Expand Down

0 comments on commit 0852e34

Please sign in to comment.