Skip to content

Commit

Permalink
Add the ability to change working dir to make-ci (#92)
Browse files Browse the repository at this point in the history
bits-packaging-pipeline has a python project embedded in it, which is a
valid usecase for this.
  • Loading branch information
lbenezriravin authored Oct 21, 2024
1 parent d553f70 commit ececb5a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/python-make-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,18 @@ name: Make CI
default: 10
required: false
type: number
working_directory:
default: "."
description: >-
The directory where pyproject.toml and Makefile exist, relative to the project root
required: false
type: string

jobs:
make-ci:
defaults:
run:
working-directory: ${{ inputs.working_directory }}
runs-on: ubuntu-latest
steps:
- name: Checkout repo
Expand Down

0 comments on commit ececb5a

Please sign in to comment.