Skip to content

Commit 0508996

Browse files
committed
freezing in the cloud build #28
1 parent 5b478fc commit 0508996

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/github_workflows_build-dot.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ jobs:
129129
& "$env:build_location\python\python.exe" -m wppm -md | Out-File -FilePath $destfile -Encoding utf8
130130
131131
132-
& "$env:build_location\python\python.exe" -m pip freeze --dest dotpython\freeze.txt
132+
& "$env:build_location\python\python.exe" -m pip freeze | Out-File -FilePath dotpython\freeze.txt
133133
$destfile = "publish_dot\pylock.$env:WINPYARCH.$($env:WINPYVER -replace '\.', '_').toml"
134-
& "$env:build_location\python\python.exe" -m pip lock --no-deps --find-links=dotpython\wheelhouse --require-hashes -r $env:WINPYrequirements -o $destfile
134+
& "$env:build_location\python\python.exe" -m pip lock --no-deps --find-links=dotpython\wheelhouse --require-hashes -r dotpython\freeze.txt -o $destfile
135135
136136
$outreq = "publish_dot\requir.$env:WINPYARCH.$($env:WINPYVER -replace '\.', '_').txt"
137137
& "$env:build_location\python\python.exe" -X utf8 -c "from wppm import wheelhouse as wh; wh.pylock_to_req(r'$env:destfile', r'$env:outreq')"
@@ -155,4 +155,5 @@ jobs:
155155
uses: actions/upload-artifact@v4
156156
with:
157157
name: publish_dotc
158-
path: publish_dot
158+
path: publish_dot
159+
#retention-days: 30 # keeps artifact for 30 days

0 commit comments

Comments
 (0)