Skip to content

Commit

Permalink
ci: upload assets to release page
Browse files Browse the repository at this point in the history
and specify the correct name of the `cargo` docs

Signed-off-by: Bryant Finney <[email protected]>
  • Loading branch information
bryant-finney committed Sep 9, 2024
1 parent 39e195c commit 054cb20
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/push-poetry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,27 @@ jobs:
name: build-sdist
path: dist

upload-assets:
if: github.ref_type == 'tag'
needs: [build, docs, sdist]
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
path: dist
pattern: build-*
merge-multiple: true

- run: gh release upload ${{ github.ref_name }} dist/*

test-pypi:
environment:
name: test.pypi.org
url: https://test.pypi.org/p/dicom-echo

if: needs.check.outputs.release != 'true' && github.ref_type == 'tag'
if: github.ref_type == 'tag'
needs:
- check
- lint
Expand Down
2 changes: 1 addition & 1 deletion src/dicom_echo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## `dicom_echo.backend`
This module is built with Rust and provides the core functionality for sending `C-ECHO` messages. See
[/backend/](./backend/index.html) for the crate's documentation.
[/doc/backend/](./doc/backend/index.html) for the crate's documentation.
## `dicom_echo.cli`
Expand Down

0 comments on commit 054cb20

Please sign in to comment.