Skip to content

Commit

Permalink
forgor
Browse files Browse the repository at this point in the history
  • Loading branch information
NevermindNilas committed Aug 22, 2024
1 parent e64e985 commit d6547cf
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
asset-suffix: "_Full_Windows"
- os: windows-latest
python-version: "3.12.4"
build-script: build.py
build-script: build-lite.py
asset-content-type: application/x-7z-compressed
asset-extension: .7z
asset-suffix: "_Lite_Windows"
Expand Down Expand Up @@ -83,8 +83,13 @@ jobs:
echo "Available disk space on all drives:"
Get-PSDrive -PSProvider FileSystem | Select-Object -Property Name, @{Name="Used(GB)";Expression={[math]::round($_.Used/1GB,2)}}, @{Name="Free(GB)";Expression={[math]::round($_.Free/1GB,2)}}, @{Name="Total(GB)";Expression={[math]::round($_.Used/1GB,2) + [math]::round($_.Free/1GB,2)}}
- name: Run build script
run: python ${{ matrix.build-script }} --venv
- name: Run full build script ( Windows - Full )
if: contains(matrix.asset-suffix, '_Full')
run: python ${{ matrix.build-script }} --output dist-full

- name: Run lite build script ( Windows - Lite )
if: contains(matrix.asset-suffix, '_Lite')
run: python ${{ matrix.build-script }} --output dist-lite

- name: Get the date
id: date
Expand Down

0 comments on commit d6547cf

Please sign in to comment.