Skip to content

Commit

Permalink
Download curl from github
Browse files Browse the repository at this point in the history
  • Loading branch information
perklet committed Dec 30, 2023
1 parent 1ddfa2f commit 2325907
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-win.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
mingw-w64-x86_64-gcc
mingw-w64-x86_64-go
- name: Setup tmate session for debugging
uses: mxschmitt/action-tmate@v3
# - name: Setup tmate session for debugging
# uses: mxschmitt/action-tmate@v3

- name: Copy and patch
shell: msys2 {0}
Expand Down
9 changes: 4 additions & 5 deletions win/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,11 @@ export HTTP2=1
export WEBSOCKETS=1
export ECH=1

CURL_VERSION=curl-8.1.1
CURL_VERSION=curl-8_1_1

curl -L "https://curl.se/download/${CURL_VERSION}.tar.xz" \
-o "${CURL_VERSION}.tar.xz"
tar -xf ${CURL_VERSION}.tar.xz
mv ${CURL_VERSION} curl
curl -L https://github.com/curl/curl/archive/${CURL_VERSION}.zip -o curl.zip
unzip -q -o curl.zip
mv curl-${CURL_VERSION} curl

cd curl

Expand Down

0 comments on commit 2325907

Please sign in to comment.