Skip to content

Commit c2bc8a9

Browse files
committed
fix: swap napi prepublish/artifacts order and add manylinux containers for python builds
1 parent b0a4a16 commit c2bc8a9

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/publish-node.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,14 @@ jobs:
146146
path: packages/auths-node/artifacts
147147
merge-multiple: true
148148

149-
- name: Move artifacts
150-
working-directory: packages/auths-node
151-
run: pnpm artifacts
152-
153149
- name: Prepare npm packages
154150
working-directory: packages/auths-node
155151
run: pnpm prepublishOnly
156152

153+
- name: Move artifacts
154+
working-directory: packages/auths-node
155+
run: pnpm artifacts
156+
157157
- name: Publish
158158
working-directory: packages/auths-node
159159
run: |

.github/workflows/publish-python.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,19 @@ jobs:
2727
include:
2828
- os: ubuntu-latest
2929
target: x86_64-unknown-linux-gnu
30+
manylinux: auto
3031
args: ""
3132
- os: ubuntu-latest
3233
target: aarch64-unknown-linux-gnu
34+
manylinux: auto
3335
args: "--zig"
3436
- os: macos-latest
3537
target: universal2-apple-darwin
38+
manylinux: "off"
3639
args: ""
3740
- os: windows-latest
3841
target: x86_64-pc-windows-msvc
42+
manylinux: "off"
3943
args: ""
4044
steps:
4145
- uses: actions/checkout@v4
@@ -48,6 +52,7 @@ jobs:
4852
uses: PyO3/maturin-action@v1
4953
with:
5054
target: ${{ matrix.target }}
55+
manylinux: ${{ matrix.manylinux }}
5156
args: --release --out dist ${{ matrix.args }}
5257
working-directory: packages/auths-python
5358
sccache: "true"
@@ -126,5 +131,6 @@ jobs:
126131
- name: Publish
127132
uses: pypa/gh-action-pypi-publish@release/v1
128133
with:
134+
verbose: true
129135
packages-dir: dist/
130136
repository-url: ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'testpypi') && 'https://test.pypi.org/legacy/' || '' }}

0 commit comments

Comments
 (0)