diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 7f465497..b50f868f 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -103,18 +103,11 @@ jobs: pip install wheel pip install -r requirements-dev.txt - - name: Download latest WinSparkle release + - name: Download winsparkle run: | - $url = "https://api.github.com/repos/vslavik/winsparkle/releases/latest" - $response = Invoke-RestMethod -Uri $url - $latestAsset = $response.assets | Where-Object { $_.name -match "WinSparkle.*\.zip" -and $_.name -notmatch "-src" } - - $downloadUrl = $latestAsset.browser_download_url - Invoke-WebRequest -Uri $downloadUrl -OutFile WinSparkle-Latest.zip - - Expand-Archive -Path WinSparkle-Latest.zip -DestinationPath . - $extractedFolder = Get-ChildItem -Filter "WinSparkle-*" -Directory - Move-Item -Path "$($extractedFolder.FullName)\Release\*" -Destination . + Invoke-Webrequest -UseBasicParsing https://github.com/vslavik/winsparkle/releases/download/v0.8.0/WinSparkle-0.8.0.zip -OutFile out.zip + Expand-Archive out.zip + Move-Item 'out\WinSparkle-0.8.0\Release\*' '.\' - name: Build EDMC run: | diff --git a/requirements-dev.txt b/requirements-dev.txt index a8b0815b..3ab5f9a3 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -18,24 +18,24 @@ flake8-noqa==1.3.2 flake8-polyfill==1.0.2 flake8-use-fstring==1.4 -mypy==1.6.1 +mypy==1.7.0 pep8-naming==0.13.3 safety==2.3.5 -types-requests==2.31.0.2 +types-requests==2.31.0.10 types-pkg-resources==0.1.3 # Code formatting tools autopep8==2.0.4 # Git pre-commit checking -pre-commit==3.3.3 +pre-commit==3.5.0 # HTML changelogs -grip==4.6.1 +grip==4.6.2 # Packaging # We only need py2exe on windows. -py2exe==0.13.0.0; sys_platform == 'win32' +py2exe==0.13.0.1; sys_platform == 'win32' # Testing pytest==7.4.3