1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-09-11 18:27:21 +03:00

ci: remove skip lock for Windows

This commit is contained in:
louistiti 2022-10-13 01:22:33 +08:00
parent b0849c0046
commit 350072cf8c
No known key found for this signature in database
GPG Key ID: 7ECA3DD523793FE6
2 changed files with 1 additions and 8 deletions

View File

@ -5,7 +5,6 @@ on: workflow_dispatch
env:
PIPENV_PIPFILE: bridges/python/src
PIPENV_VENV_IN_PROJECT: true
PIP_NO_BINARY: 'cx_Freeze'
jobs:
build:

View File

@ -140,13 +140,7 @@ SPACY_MODELS.set('fr', {
}
try {
let pipenvInstallCommand = `pipenv install --verbose --site-packages`
if (osType === OSTypes.Windows) {
pipenvInstallCommand = `${pipenvInstallCommand} --skip-lock`
}
await command(pipenvInstallCommand, {
await command(`pipenv install --verbose --site-packages`, {
shell: true,
stdio: 'inherit'
})