mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: post setup
This commit is contained in:
1 parent
1bc7a49cdb
commit
08e07957a7
1 file changed
+18
-6
@@ -36,22 +36,26 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: (Steam) Setup bun
|
||||||
|
uses: oven-sh/setup-bun@v1
|
||||||
|
if: github.event.inputs.zip_url == ''
|
||||||
|
|
||||||
|
- name: (Steam) Install dependencies
|
||||||
|
if: github.event.inputs.zip_url == ''
|
||||||
run: bun install
|
run: bun install
|
||||||
|
|
||||||
- name: Setup DepotDownloader
|
- name: (Steam) Setup DepotDownloader
|
||||||
if: github.event.inputs.zip_url == ''
|
if: github.event.inputs.zip_url == ''
|
||||||
run: bun scripts/setupDepotDownloader.ts
|
run: bun scripts/setupDepotDownloader.ts
|
||||||
|
|
||||||
- name: Download Steam client
|
- name: (Steam) Download client
|
||||||
if: github.event.inputs.zip_url == ''
|
if: github.event.inputs.zip_url == ''
|
||||||
run: |
|
run: |
|
||||||
chmod +x ./temp/depotDownloader/DepotDownloader
|
chmod +x ./temp/depotDownloader/DepotDownloader
|
||||||
./temp/depotDownloader/DepotDownloader -os windows -app 444200 -username ${{ secrets.DEPOT_DOWNLOADER_USERNAME }} -password "${{ secrets.DEPOT_DOWNLOADER_PASSWORD }}"
|
./temp/depotDownloader/DepotDownloader -os windows -app 444200 -username ${{ secrets.DEPOT_DOWNLOADER_USERNAME }} -password "${{ secrets.DEPOT_DOWNLOADER_PASSWORD }}"
|
||||||
|
|
||||||
- name: Apply patches
|
- name: (Steam) Apply patches
|
||||||
if: github.event.inputs.zip_url == ''
|
if: github.event.inputs.zip_url == ''
|
||||||
env:
|
env:
|
||||||
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
|
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
|
||||||
@@ -61,7 +65,7 @@ jobs:
|
|||||||
WOTB_DLC_CDN: ${{ secrets.WOTB_DLC_CDN }}
|
WOTB_DLC_CDN: ${{ secrets.WOTB_DLC_CDN }}
|
||||||
run: bun scripts/applyPatches.ts --depot
|
run: bun scripts/applyPatches.ts --depot
|
||||||
|
|
||||||
- name: Download ZIP client
|
- name: (ZIP) Download client
|
||||||
if: github.event.inputs.zip_url != ''
|
if: github.event.inputs.zip_url != ''
|
||||||
env:
|
env:
|
||||||
ZIP_URL: ${{ github.event.inputs.zip_url }}
|
ZIP_URL: ${{ github.event.inputs.zip_url }}
|
||||||
@@ -72,6 +76,14 @@ jobs:
|
|||||||
rm client.zip
|
rm client.zip
|
||||||
mv $ZIP_ROOT depots/444202/0
|
mv $ZIP_ROOT depots/444202/0
|
||||||
|
|
||||||
|
- name: (ZIP) Setup bun
|
||||||
|
uses: oven-sh/setup-bun@v1
|
||||||
|
if: github.event.inputs.zip_url != ''
|
||||||
|
|
||||||
|
- name: (ZIP) Install dependencies
|
||||||
|
if: github.event.inputs.zip_url != ''
|
||||||
|
run: bun install
|
||||||
|
|
||||||
- name: Build assets
|
- name: Build assets
|
||||||
env:
|
env:
|
||||||
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
|
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
|
||||||
|
|||||||
Reference in new issue
Block a user