Skip to content

Commit 25bb2a5

Browse files
Recursively get submodules before generating the sdist (#1156)
* 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]>
1 parent 1b5848f commit 25bb2a5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ env:
1111

1212
on:
1313
push:
14-
branches: [ main ]
14+
branches: [ 'main', 'v[0-9]*' ]
1515
pull_request:
16-
branches: [ main ]
16+
branches: [ 'main', 'v[0-9]*' ]
1717

1818
jobs:
1919
cpp_build:
@@ -124,9 +124,11 @@ jobs:
124124

125125
package_sdist:
126126
needs: py_build_test
127-
runs-on: ubuntu-20.04
127+
runs-on: ubuntu-latest
128128
steps:
129-
- uses: actions/checkout@v2
129+
- uses: actions/[email protected]
130+
with:
131+
submodules: 'recursive'
130132

131133
- uses: actions/setup-python@v2
132134

0 commit comments

Comments
 (0)