Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Use invoke-webrequest in Windows CI

Neptune4b575689649e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5e4d97fad..1ef1128e0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -73,7 +73,7 @@ jobs:
- name: Install Rust
run: |
- wget https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe
+ Invoke-WebRequest https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe -OutFile rustup-init.exe
.\rustup-init.exe -y
- name: Set up Rust
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 845410e63..f315ab2e2 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -91,7 +91,7 @@ jobs:
- name: Install Rust
if: matrix.args == '--target x86_64-pc-windows-msvc' || matrix.platform == 'big-windows'
run: |
- wget https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe
+ Invoke-WebRequest https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe -OutFile rustup-init.exe
.\rustup-init.exe -y
- name: Set up Rust
@@ -141,8 +141,8 @@ jobs:
- name: Install Linux dependencies
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'big-linux'
run: |
- sudo apt-get update
- sudo apt-get install -y libappindicator3-1 libappindicator3-dev libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
+ sudo apt update
+ sudo apt install -y libappindicator3-1 libappindicator3-dev libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf wget
- name: Install dependencies
if: matrix.platform == 'macos-latest'
@@ -173,10 +173,6 @@ jobs:
# if: matrix.args == '--target x86_64-pc-windows-msvc'
# uses: mxschmitt/action-tmate@v3
- - name: Install wget on Linux
- if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'big-linux'
- run: sudo apt-get install -y wget
-
- name: Install vcpkg
if: matrix.args == '--target x86_64-pc-windows-msvc' || matrix.platform == 'big-windows'
uses: lukka/run-vcpkg@v11
diff --git a/.github/workflows/windows-integration-test.yml b/.github/workflows/windows-integration-test.yml
index 87cb0f01c..3e8e7308f 100644
--- a/.github/workflows/windows-integration-test.yml
+++ b/.github/workflows/windows-integration-test.yml
@@ -19,7 +19,7 @@ jobs:
- name: Install Rust
run: |
- wget https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe
+ Invoke-WebRequest https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe -OutFile rustup-init.exe
.\rustup-init.exe -y
- name: Set up Rust