Skip to content

Commit

Permalink
Recursively get submodules before generating the sdist (#1156)
Browse files Browse the repository at this point in the history
* Recursively get submodules before generating the sdist (#1152)

* Run python package action on release branches as well as main.

Co-authored-by: Jean-Christophe Morin <[email protected]>
  • Loading branch information
reinecke and JeanChristopheMorinPerso authored Nov 24, 2021
1 parent 1b5848f commit 25bb2a5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ env:

on:
push:
branches: [ main ]
branches: [ 'main', 'v[0-9]*' ]
pull_request:
branches: [ main ]
branches: [ 'main', 'v[0-9]*' ]

jobs:
cpp_build:
Expand Down Expand Up @@ -124,9 +124,11 @@ jobs:

package_sdist:
needs: py_build_test
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
submodules: 'recursive'

- uses: actions/setup-python@v2

Expand Down

0 comments on commit 25bb2a5

Please sign in to comment.