Skip to content

Commit

Permalink
try to fix artifact format
Browse files Browse the repository at this point in the history
  • Loading branch information
Odizinne committed Aug 7, 2024
1 parent 457eadc commit f052d97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Build and Release

on:
push:
Expand Down Expand Up @@ -26,15 +26,8 @@ jobs:
- name: Build executable
run: python src/setup.py build

- name: Zip BigPictureTV folder
run: |
$zipFile = "build/BigPictureTV.zip"
$folder = "build/BigPictureTV"
Compress-Archive -Path $folder -DestinationPath $zipFile
shell: pwsh

- name: Upload BigPictureTV zip
- name: Upload project artifact
uses: actions/upload-artifact@v4
with:
name: BigPictureTV
path: build/BigPictureTV.zip
name: ${{ github.event.repository.name }}_win64
path: build/${{ github.event.repository.name }}
4 changes: 1 addition & 3 deletions src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,4 @@ def run_displayswitch(command):
def is_windows_10():
os_name = platform.system()
os_release = platform.release()
if os_name == "Windows" and os_release == "10":
return True
return False
return os_name == "Windows" and os_release == "10"

0 comments on commit f052d97

Please sign in to comment.