mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Adding support for a JSON inventory.
This commit is contained in:
6
run.ps1
6
run.ps1
@@ -88,7 +88,7 @@ if ($build)
|
||||
rm -Force .\build\bdist.win-amd64
|
||||
rm -Force .\build\lib
|
||||
Write-Host -ForegroundColor Yellow "[live][BUILD] Building $PackageName package as wheel ..."
|
||||
py -3.12 -m build --wheel
|
||||
py -3.13 -m build --wheel
|
||||
|
||||
Write-Host -ForegroundColor Yellow "[live][BUILD] Building wheel finished"
|
||||
}
|
||||
@@ -102,9 +102,9 @@ if ($install)
|
||||
}
|
||||
else
|
||||
{ Write-Host -ForegroundColor Cyan "[ADMIN][UNINSTALL] Uninstalling $PackageName ..."
|
||||
py -3.12 -m pip uninstall -y $PackageName
|
||||
py -3.13 -m pip uninstall -y $PackageName
|
||||
Write-Host -ForegroundColor Cyan "[ADMIN][INSTALL] Installing $PackageName from wheel ..."
|
||||
py -3.12 -m pip install .\dist\$PackageName-6.7.0-py3-none-any.whl
|
||||
py -3.13 -m pip install .\dist\$PackageName-8.1.0-py3-none-any.whl
|
||||
|
||||
Write-Host -ForegroundColor Cyan "[ADMIN][INSTALL] Closing window in 5 seconds ..."
|
||||
Start-Sleep -Seconds 5
|
||||
|
||||
Reference in New Issue
Block a user