Update .gitlab-ci.yml

This commit is contained in:
J. Fronny 2020-06-20 12:59:24 +00:00
parent b568eb1877
commit 123c5994a2
1 changed files with 2 additions and 2 deletions

View File

@ -12,13 +12,13 @@ uptool:
- .shared_windows_runners - .shared_windows_runners
stage: deploy stage: deploy
script: | script: |
choco install ffmpeg python -y --nocolor --no-progress choco install youtube-dl ffmpeg python -y --nocolor --no-progress
refreshenv refreshenv
$env:Path=( $env:Path=(
[System.Environment]::GetEnvironmentVariable("Path","Machine"), [System.Environment]::GetEnvironmentVariable("Path","Machine"),
[System.Environment]::GetEnvironmentVariable("Path","User") [System.Environment]::GetEnvironmentVariable("Path","User")
) -match '.' -join ';' ) -match '.' -join ';'
python DownloadDataDepsInstall.py #python DownloadDataDepsInstall.py
ffmpeg --help ffmpeg --help
python DownloadData.py python DownloadData.py
$(new-object System.Net.WebClient).DownloadFile("https://www.github.com/JFronny/UpTool2/releases/latest/download/Tools.zip", "$($(pwd).Path)\Tools.zip") $(new-object System.Net.WebClient).DownloadFile("https://www.github.com/JFronny/UpTool2/releases/latest/download/Tools.zip", "$($(pwd).Path)\Tools.zip")