File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -67,18 +67,14 @@ jobs:
67
67
run : hatch run examples:check
68
68
69
69
- name : Check wheels can be built
70
- run : hatch build
70
+ run : hatch build && hatch run cicd:clean_dist
71
71
72
72
- name : Run tests (codebase)
73
73
run : hatch run tests
74
74
75
75
- name : Run tests (examples)
76
76
run : hatch run examples:tests
77
77
78
- - uses : actions/upload-artifact@v4 # upload artifacts so they are retained on the job
79
- with :
80
- path : dist
81
-
82
78
- name : Python Semantic Release
83
79
id : semantic-release
84
80
if : ${{ github.ref == 'refs/heads/main' }}
93
89
uses : pypa/gh-action-pypi-publish@release/v1
94
90
with :
95
91
packages-dir : dist
92
+
93
+ - uses : actions/upload-artifact@v4 # upload artifacts so they are retained on the job
94
+ with :
95
+ path : dist
Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ dependencies = [
116
116
localnet_start = [
117
117
" algokit localnet start" ,
118
118
]
119
+ clean_dist = " rm -rf dist"
119
120
120
121
# docs environment
121
122
[tool .hatch .envs .docs ]
You can’t perform that action at this time.
0 commit comments