From 93acd64b274650aafb83a11ad38ed7758f11ba56 Mon Sep 17 00:00:00 2001 From: "Satadru Pramanik, DO, MPH, MEng" Date: Wed, 18 Dec 2024 20:41:03 -0500 Subject: [PATCH] Adjust Build and Updater workflows. (#11014) Signed-off-by: Satadru Pramanik --- .github/workflows/Build.yml | 18 +++++++++++++++++- .github/workflows/Updater.yml | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 452f294c9..1eb6a2308 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -16,8 +16,24 @@ permissions: pull-requests: write repository-projects: read jobs: + debug: + if: ${{ ( github.repository_owner == 'chromebrew' ) }} + runs-on: ubuntu-24.04 + steps: + - name: Dump GitHub context + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" + - name: Dump job context + env: + JOB_CONTEXT: ${{ toJson(job) }} + run: echo "$JOB_CONTEXT" + - name: Dump steps context + env: + STEPS_CONTEXT: ${{ toJson(steps) }} + run: echo "$STEPS_CONTEXT" setup: - if: ${{ ( github.repository_owner == 'chromebrew' ) && ( inputs.branch != 'master' ) && ( github.ref_name != 'master' ) }} + if: ${{ ( github.repository_owner == 'chromebrew' ) && ( inputs.branch != 'master' ) }} runs-on: ubuntu-24.04 outputs: timestamp: ${{ steps.set-timestamp.outputs.TIMESTAMP }} # https://stackoverflow.com/a/75142892 diff --git a/.github/workflows/Updater.yml b/.github/workflows/Updater.yml index 86d63c77c..5378e8565 100644 --- a/.github/workflows/Updater.yml +++ b/.github/workflows/Updater.yml @@ -107,4 +107,4 @@ jobs: UPDATE_BRANCH_NAME: ${{ needs.update-check.outputs.update_branch_name }} steps: - name: gh_workflow_dispatch - run: gh workflow run Build.yml -f branch=${UPDATE_BRANCH_NAME} + run: gh workflow -R chromebrew/chromebrew run Build.yml -f branch=${UPDATE_BRANCH_NAME}