From 46f11af71754cc0975aa9b930aa81ccc1d232168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Mon, 19 Feb 2024 21:10:13 -0600 Subject: [PATCH] feat: windows --- .github/workflows/cd-assets.yml | 7 ++----- scripts/setupDepotDownloader.ts | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cd-assets.yml b/.github/workflows/cd-assets.yml index 21b564eda..e2f5619bf 100644 --- a/.github/workflows/cd-assets.yml +++ b/.github/workflows/cd-assets.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - name: Checkout repository @@ -34,8 +34,5 @@ jobs: - name: Setup DepotDownloader run: yarn setup:depotdownloader - - name: Add DepotDownloader - run: git update-index --add --chmod=+x ./temp/depotDownloader/DepotDownloader - - name: Run DepotDownloader - run: ./temp/depotDownloader/DepotDownloader -app 444200 + run: ./temp/depotDownloader/DepotDownloader.exe -app 444200 diff --git a/scripts/setupDepotDownloader.ts b/scripts/setupDepotDownloader.ts index 7f204e461..37aa6858c 100644 --- a/scripts/setupDepotDownloader.ts +++ b/scripts/setupDepotDownloader.ts @@ -18,7 +18,7 @@ await fetch( }>, ) .then(({ assets }) => { - const asset = assets.find(({ name }) => name.includes('linux-x64')); + const asset = assets.find(({ name }) => name.includes('windows-x64')); if (!asset) throw new Error('No asset found'); return fetch(asset.browser_download_url); })