Client_Updater #192
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow that is manually triggered | |
name: Client_Updater | |
# Controls when the action will run. Workflow runs when manually triggered using the UI | |
# or API. | |
on: | |
[workflow_dispatch, repository_dispatch] | |
# Inputs the workflow accepts. | |
# inputs: | |
# name: | |
# # Friendly description to be shown in the UI instead of 'name' | |
# description: 'Person to greet' | |
# # Default value if no value is explicitly provided | |
## default: 'World' | |
# # Input has to be provided for the workflow to run | |
#required: true | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# does not run on the temp branch itself | |
UpdateCache: | |
uses: ./.github/workflows/update-api.yml | |
UpdateOnNewBranch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v3.1.0 | |
- name: Call Workflow | |
run: gh workflow run SetupBranch.yml --ref ${GITHUB_REF##*/} -f target_branch=$(echo -en temp_;date +"%Y%m%d%H%M%S%N") | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |