mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: windows
This commit is contained in:
1 parent
c0670e9025
commit
46f11af717
2 files changed
+3
-6
No files matched your search
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@@ -34,8 +34,5 @@ jobs:
|
|||||||
- name: Setup DepotDownloader
|
- name: Setup DepotDownloader
|
||||||
run: yarn setup:depotdownloader
|
run: yarn setup:depotdownloader
|
||||||
|
|
||||||
- name: Add DepotDownloader
|
|
||||||
run: git update-index --add --chmod=+x ./temp/depotDownloader/DepotDownloader
|
|
||||||
|
|
||||||
- name: Run DepotDownloader
|
- name: Run DepotDownloader
|
||||||
run: ./temp/depotDownloader/DepotDownloader -app 444200
|
run: ./temp/depotDownloader/DepotDownloader.exe -app 444200
|
||||||
@@ -18,7 +18,7 @@ await fetch(
|
|||||||
}>,
|
}>,
|
||||||
)
|
)
|
||||||
.then(({ assets }) => {
|
.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');
|
if (!asset) throw new Error('No asset found');
|
||||||
return fetch(asset.browser_download_url);
|
return fetch(asset.browser_download_url);
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user