File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed
Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -16,20 +16,10 @@ jobs:
1616 uses : actions/setup-python@v5
1717 with :
1818 python-version : " 3.10"
19- - name : 🏗 Install build dependencies
20- run : >-
21- python -m pip install wheel build twine --user
22- - name : 🔨 Build a binary wheel and a source tarball
23- run : >-
24- python -m build
25- - name : 🧪 Check that twine is happy with it
26- run : >-
27- twine check --strict dist/*
28- - name : ⬆ Upload build result
29- uses : actions/upload-artifact@v4
19+ - name : 🔨 Build distribution
20+ uses : OctoPrint/actions/build-dist@main
3021 with :
31- name : dist
32- path : dist
22+ artifact : dist
3323
3424 pre-commit :
3525 name : 🧹 Pre-commit
@@ -114,6 +104,10 @@ jobs:
114104 with :
115105 name : dist
116106 path : dist
107+ - name : 🧹 Remove some stuff that won't make it through twine check
108+ run : |
109+ rm dist/*.source.tar.gz
110+ rm dist/sha512sums.txt
117111 - name : 📦 Publish to index
118112 uses : pypa/gh-action-pypi-publish@release/v1
119113 with :
@@ -135,5 +129,9 @@ jobs:
135129 with :
136130 name : dist
137131 path : dist
132+ - name : 🧹 Remove some stuff that won't make it through twine check
133+ run : |
134+ rm dist/*.source.tar.gz
135+ rm dist/sha512sums.txt
138136 - name : 📦 Publish to index
139137 uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments