mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
39 lines
927 B
YAML
39 lines
927 B
YAML
name: CD Build Assets
|
|
|
|
on:
|
|
push:
|
|
branches: 1.16.0
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Use node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 18
|
|
cache: 'npm'
|
|
|
|
- name: Install Yarn
|
|
run: npm install --location=global yarn
|
|
|
|
- name: Use node_modules cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: '**/node_modules'
|
|
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
|
|
|
- name: Install dependencies
|
|
run: yarn
|
|
|
|
- name: Setup DepotDownloader
|
|
run: yarn setup:depotdownloader
|
|
|
|
- name: Run DepotDownloader
|
|
run: ./temp/depotDownloader/DepotDownloader.exe -app 444200 -username={{ secrets.DEPOT_DOWNLOADER_USERNAME }} -password="{{ secrets.DEPOT_DOWNLOADER_PASSWORD }}"
|