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); })