Skip to content

Commit

Permalink
Bump libsodium version to 1.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed May 30, 2023
1 parent e42a9d0 commit a9c7b31
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/actions/windows_dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: windows_dependencies
description: Setup windows dependencies for Tribler
inputs:
libsodium-version:
default: '1.0.17'
default: '1.0.18'
description: 'Libsodium version'
required: false

Expand All @@ -29,12 +29,17 @@ runs:

- name: Download Libsodium
if: steps.check_libsodium.outputs.files_exists == 'false'
env:
RELEASE_FOLDER: .\libsodium\x64\Release
shell: cmd
run: |
C:\msys64\usr\bin\wget.exe -q https://download.libsodium.org/libsodium/releases/libsodium-${{inputs.libsodium-version}}-msvc.zip
7z x libsodium-${{inputs.libsodium-version}}-msvc.zip
dir %RELEASE_FOLDER% /ad /b /o-n > latest_release_file
set /p latest_release= < latest_release_file
echo Latest release: %latest_release%
if not exist "cached-bin\libsodium-${{inputs.libsodium-version}}" mkdir "cached-bin\libsodium-${{inputs.libsodium-version}}"
copy .\x64\Release\v141\dynamic\libsodium.dll .\cached-bin\libsodium-${{inputs.libsodium-version}}\libsodium.dll
copy %RELEASE_FOLDER%\%latest_release%\dynamic\libsodium.dll .\cached-bin\libsodium-${{inputs.libsodium-version}}\libsodium.dll
- name: Install Libsodium
shell: cmd
Expand Down

0 comments on commit a9c7b31

Please sign in to comment.