Skip to content

Commit

Permalink
Update codegen.yml: add optional ref input
Browse files Browse the repository at this point in the history
  • Loading branch information
shBLOCK committed May 7, 2024
1 parent bb838fa commit 7d928c9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,23 @@ name: Codegen

on:
workflow_call:
inputs:
ref:
type: string
required: false
workflow_dispatch:

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1

jobs:
codegen:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

- name: Setup Python
uses: actions/setup-python@v5
Expand Down

0 comments on commit 7d928c9

Please sign in to comment.