mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Adjust Build and Updater workflows. (#11014)
Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
committed by
GitHub
parent
c9b913b359
commit
93acd64b27
18
.github/workflows/Build.yml
vendored
18
.github/workflows/Build.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/Updater.yml
vendored
2
.github/workflows/Updater.yml
vendored
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user