Fix publishing
This commit is contained in:
parent
f35c0c8213
commit
1adc46194a
1 changed files with 7 additions and 11 deletions
|
|
@ -2,16 +2,16 @@ name: Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ['main']
|
branches: ["main"]
|
||||||
tags: ['*']
|
tags: ["*"]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
RUSTFLAGS: '-Dwarnings'
|
RUSTFLAGS: "-Dwarnings"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: 'pages'
|
group: "pages"
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '22.x'
|
node-version: "22.x"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: Cache Rust dependencies
|
- name: Cache Rust dependencies
|
||||||
|
|
@ -130,9 +130,9 @@ jobs:
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '22.x'
|
node-version: "22.x"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: "https://registry.npmjs.org"
|
||||||
|
|
||||||
- name: Cache Rust dependencies
|
- name: Cache Rust dependencies
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|
@ -243,10 +243,6 @@ jobs:
|
||||||
working-directory: reconcile-python
|
working-directory: reconcile-python
|
||||||
run: uv run maturin sdist --out dist
|
run: uv run maturin sdist --out dist
|
||||||
|
|
||||||
- name: Validate sdist contents and size
|
|
||||||
working-directory: reconcile-python
|
|
||||||
run: uv run python ../scripts/check-python-sdist.py dist/*.tar.gz
|
|
||||||
|
|
||||||
- name: Build Linux x86_64 wheel
|
- name: Build Linux x86_64 wheel
|
||||||
working-directory: reconcile-python
|
working-directory: reconcile-python
|
||||||
run: >-
|
run: >-
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue