mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 00:53:57 -07:00
CI: Update Qt setup on Windows (#4654)
* use new internal caching * Update desktop-build.yml * Update desktop-build.yml * Update desktop-build.yml * use newest patch version jurplel/install-qt-action#version * python not needed * Update desktop-build.yml * Update desktop-build.yml * Update desktop-build.yml * Update desktop-build.yml * Update desktop-build.yml * install openssl via tools * add $RUNNER_WORKSPACE location Source: https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/environment-variables-full-list-github-actions * Update FindWin32SslRuntime.cmake * Update FindWin32SslRuntime.cmake * Update FindWin32SslRuntime.cmake * Update FindWin32SslRuntime.cmake * Delete download_openssl.sh * cleanup * [skip ci] improve short-circuit evaluation comment * restructure
This commit is contained in:
parent
2f100f2ba3
commit
54b7943d17
3 changed files with 24 additions and 62 deletions
|
|
@ -1,35 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Read arguments
|
||||
while [[ $# != 0 ]]; do
|
||||
case "$1" in
|
||||
'--')
|
||||
shift
|
||||
;;
|
||||
'--arch')
|
||||
shift
|
||||
if [[ $# == 0 ]]; then
|
||||
echo "::error file=$0::--arch expects an argument"
|
||||
exit 3
|
||||
fi
|
||||
OS_ARCH="$1"
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
echo "::error file=$0::unrecognized option: $1"
|
||||
exit 3
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
set -e
|
||||
|
||||
OPEN_SSL_VERSION="1.1.1n"
|
||||
DEST_PATH="C:\OpenSSL-Win$OS_ARCH"
|
||||
|
||||
curl -JLSs "https://github.com/CristiFati/Prebuilt-Binaries/raw/master/OpenSSL/v1.1.1/OpenSSL-$OPEN_SSL_VERSION-Win-pc0$OS_ARCH.zip" -o OpenSSL.zip
|
||||
unzip -q "OpenSSL.zip"
|
||||
rm "OpenSSL.zip"
|
||||
mv "OpenSSL\OpenSSL\\$OPEN_SSL_VERSION" "$DEST_PATH"
|
||||
rm -r "OpenSSL"
|
||||
echo "Installed OpenSSL v$OPEN_SSL_VERSION to $DEST_PATH"
|
||||
Loading…
Add table
Add a link
Reference in a new issue