From be911d5bc341e28eb7b0676bbe1920a7f90abc0e Mon Sep 17 00:00:00 2001 From: Matyrobbrt <65940752+Matyrobbrt@users.noreply.github.com> Date: Wed, 7 Aug 2024 13:03:43 +0300 Subject: [PATCH] Update --- .github/workflows/run_pr.yml | 11 ++++++++--- .github/workflows/run_pr_delegate.yml | 14 ++++++++++---- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run_pr.yml b/.github/workflows/run_pr.yml index ea5be9c..a4272dc 100644 --- a/.github/workflows/run_pr.yml +++ b/.github/workflows/run_pr.yml @@ -11,10 +11,14 @@ on: required: true type: number description: The PR number - command: + command1: required: true type: string - description: The command to run + description: The first command to run + command2: + required: true + type: string + description: The second command to run upload: required: true type: string @@ -26,5 +30,6 @@ jobs: with: repository: ${{ inputs.repository }} pr: ${{ inputs.pr }} - command: ${{ inputs.command }} + command1: ${{ inputs.command1 }} + command2: ${{ inputs.command2 }} upload: ${{ inputs.upload }} \ No newline at end of file diff --git a/.github/workflows/run_pr_delegate.yml b/.github/workflows/run_pr_delegate.yml index cc08c93..8280c3f 100644 --- a/.github/workflows/run_pr_delegate.yml +++ b/.github/workflows/run_pr_delegate.yml @@ -9,10 +9,14 @@ on: required: true type: string description: The PR number - command: + command1: required: true type: string - description: The command to run + description: The first command to run + command2: + required: true + type: string + description: The second command to run upload: required: true type: string @@ -32,8 +36,10 @@ jobs: uses: gradle/actions/setup-gradle@v4 with: cache-read-only: false - - name: Run task - run: ${{ inputs.command }} + - name: Run task 1 + run: ${{ inputs.command1 }} + - name: Run task 2 + run: ${{ inputs.command2 }} - uses: actions/upload-artifact@v4 with: path: ${{ inputs.upload }}