File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ jobs:
145145 with :
146146 pattern : cpp-linter-*
147147 path : dist
148+ merge-multiple : true
148149 - name : Create a Github Release
149150 env :
150151 GH_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 7171 with :
7272 target : ${{ matrix.platform.target }}
7373 args : --release --out dist --find-interpreter --manifest-path py-binding/Cargo.toml ${{ steps.is-openssl-vendored.outputs.enabled }}
74- sccache : ' true'
74+ # sccache: 'true'
7575 manylinux : auto
7676 before-script-linux : |
7777 case "${{ matrix.platform.target }}" in
@@ -170,13 +170,15 @@ jobs:
170170 id-token : write
171171 steps :
172172 - uses : actions/download-artifact@v4
173+ with :
174+ pattern : wheels-*
175+ path : dist
176+ merge-multiple : true
173177 - name : Publish to PyPI
174- uses : PyO3/maturin-action@v1
175- env :
178+ uses : pypa/gh-action-pypi-publish@0ab0b79471669eb3a4d647e625009c62f9f3b241
179+ with :
180+ attestations : true
181+ skip-existing : true
176182 # This workflow is registered as a trusted publisher (for test-pypi and pypi).
177183 # A token should not be required (and actually is discouraged with trusted publishers).
178- # MATURIN_PYPI_TOKEN: ${{ contains(github.ref_name, 'rc') && secrets.TEST_PYPI_API_TOKEN || secrets.PYPI_API_TOKEN }}
179- MATURIN_REPOSITORY_URL : ${{ contains(github.ref_name, 'rc') && 'https://test.pypi.org/legacy' || 'https://upload.pypi.org/legacy' }}
180- with :
181- command : upload
182- args : --non-interactive --skip-existing wheels-*/*
184+ repository-url : ${{ contains(github.ref_name, 'rc') && 'https://test.pypi.org/legacy/' || 'https://upload.pypi.org/legacy/' }}
Original file line number Diff line number Diff line change @@ -12,5 +12,4 @@ authors = [
1212]
1313description = " Run clang-format and clang-tidy on a batch of files."
1414homepage = " https://cpp-linter.github.io/cpp_linter_rs"
15- repository = " https://github.com/cpp-linter/cpp_linter_rs"
1615license = " MIT"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ edition = "2021"
44readme = " README.md"
55keywords = [" clang-tidy" , " clang-format" , " linter" ]
66categories = [" command-line-utilities" , " development-tools" , " filesystem" ]
7- respository.workspace = true
7+ repository = " https://github.com/cpp-linter/cpp_linter_rs "
88version.workspace = true
99authors.workspace = true
1010description.workspace = true
You can’t perform that action at this time.
0 commit comments