Skip to content

Commit 97a7ad3

Browse files
committed
chore: fix
1 parent 4824a34 commit 97a7ad3

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141

4242
steps:
4343
- uses: actions/checkout@v4
44-
44+
with:
45+
submodules: 'recursive'
46+
4547
- uses: actions/setup-python@v5
4648
with:
4749
python-version: ${{ inputs.python-versions }}
@@ -69,6 +71,11 @@ jobs:
6971
- name: Install cibuildwheel
7072
run: python -m pip install cibuildwheel==2.22.0
7173

74+
- name: Prep repo
75+
run: |
76+
pip install -r requirements.txt
77+
make
78+
7279
- name: Build wheels
7380
run: python -m cibuildwheel --output-dir wheelhouse
7481

@@ -83,7 +90,7 @@ jobs:
8390
runs-on: ubuntu-latest
8491
environment:
8592
name: ${{ inputs.registry-name }}
86-
url: ${{ inputs.registry-url }}/${{ inputs.package-name }}
93+
url: ${{ inputs.registry-url }}${{ inputs.package-name }}
8794
permissions:
8895
id-token: write
8996
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
registry-url: 'https://test.pypi.org/legacy/'
1818
package-name: 'test-science-synapse'
1919

20-
# pypi-release:
21-
# uses: ./.github/workflows/build.yml
22-
# with:
23-
# registry-name: 'pypi'
24-
# registry-url: 'https://upload.pypi.org/legacy/'
25-
# package-name: 'science-synapse'
26-
# needs: test-pypi-release
20+
pypi-release:
21+
uses: ./.github/workflows/build.yml
22+
with:
23+
registry-name: 'pypi'
24+
registry-url: 'https://pypi.org/p/'
25+
package-name: 'science-synapse'
26+
needs: test-pypi-release

0 commit comments

Comments
 (0)