Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Jun 26, 2024
1 parent b4c65d6 commit 86b19fa
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,11 @@ jobs:
- name: Run PyInstaller
run: |
python -m PyInstaller.__main__ -F -w -n ESP-Flasher -i icon.ico esp_flasher/__main__.py
- name: See dist directory
run: ls dist
- name: Move app
run: |
mv dist/ESP-Flasher ESP-Flasher
- name: 'Tar files'
#run: gzip dist/ESP-Flasher
run: tar -cvf Ubuntu.tar dist/*
- name: 'show dist after Tar'
run: ls dist
run: tar -cvf Ubuntu.tar ESP-Flasher
- uses: jason2866/[email protected]
with:
name: Ubuntu
Expand All @@ -85,13 +83,11 @@ jobs:
- name: Run PyInstaller
run: |
python -m PyInstaller.__main__ -F -w -n ESP-Flasher -i icon.icns esp_flasher/__main__.py
- name: See dist directory
run: ls dist
- name: Move app
run: |
mv dist/ESP-Flasher.app dist/ESP-Flasher-macOS.app
mv dist/ESP-Flasher.app ESP-Flasher-macOS.app
- name: 'Tar files'
run: tar -cvf macOS.tar dist/*
run: tar -cvf macOS.tar ESP-Flasher-macOS.app
- name: 'Upload Artifact'
uses: jason2866/[email protected]
with:
Expand All @@ -114,13 +110,11 @@ jobs:
- name: Run PyInstaller
run: |
python -m PyInstaller.__main__ -F -w -n ESP-Flasher -i icon.icns esp_flasher/__main__.py
- name: See dist directory
run: ls dist
- name: Move app
run: |
mv dist/ESP-Flasher.app dist/ESP-Flasher-macOSarm.app
mv dist/ESP-Flasher.app ESP-Flasher-macOSarm.app
- name: 'Tar files'
run: tar -cvf macOSarm.tar dist/*
run: tar -cvf macOSarm.tar ESP-Flasher-macOSarm.app
- name: 'Upload Artifact'
uses: jason2866/[email protected]
with:
Expand Down

0 comments on commit 86b19fa

Please sign in to comment.