File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed
Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 11# Action builds a universal (Win32/Win64/macOS-universal/Linux-x64) Python wheel
2- # from the source code, using Hatchling, and uploads it as an artifact. This wheel
3- # can then be distributed with new releases. The action is triggered by pushes into `main`
2+ # from the source code, using Hatchling, and uploads it as an artifact. An sdist (.tar.gz) is
3+ # also uploaded, which includes all platform shared library files. These artifacts should be
4+ # used when creating new releases on PyPI and GitHub. The action is triggered by pushes into `main`
45# or pull_requests into `main` or `dev` (for testing). To aid in releases, the workflow is
5- # also triggered when new SemVer tags are created. This action handles downloading all
6- # shared library files and including them in the resulting wheel.
7- name : Build Wheels
6+ # also triggered when new SemVer tags are created.
7+ name : Build Release Artifacts
88
99on :
1010 workflow_dispatch :
8282
8383 - uses : actions/upload-artifact@v4
8484 with :
85- name : Universal Wheel (.whl )
86- path : dist/*.whl
85+ name : Release Artifacts (sdist and wheel )
86+ path : dist/*
Original file line number Diff line number Diff line change 3535 {
3636 "identifier" : " https://ntia.github.io/propagation-library-wiki/models/LFMF/" ,
3737 "relation" : " isDocumentedBy" ,
38- "resource_type" : " softwaredocumentation"
38+ "resource_type" : " publication- softwaredocumentation"
3939 }
4040 ],
4141 "version" : " 1.1.0"
Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ path = "src/ITS/Propagation/LFMF/__init__.py"
6464packages = [" src/ITS" ]
6565ignore-vcs = true
6666
67+ [tool .hatch .build .targets .sdist ]
68+ ignore-vcs = true
69+
6770[tool .cibuildwheel ]
6871test-command = " pytest ."
6972test-requires = " pytest"
You can’t perform that action at this time.
0 commit comments