Use tar archive

This commit is contained in:
Bas 2021-03-21 17:48:31 +01:00 committed by GitHub
parent 7564510507
commit 68a3e23651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions

View File

@ -99,16 +99,19 @@ jobs:
python -m PyInstaller.__main__ -F -w -n ESPHome-Flasher -i icon.icns esphomeflasher/__main__.py
- name: See dist directory
run: ls dist
- name: Make executeable
run: |
chmod ug+x dist/ESPHome-Flasher.app/Contents/MacOS/ESPHome-Flasher
# - name: Make executeable
# run: |
# chmod ug+x dist/ESPHome-Flasher.app/Contents/MacOS/ESPHome-Flasher
- name: Move app
run: |
mv dist/ESPHome-Flasher.app dist/ESPHome-Flasher-dev-macOS.app
- uses: actions/upload-artifact@v2
- name: 'Tar files'
run: tar -cvf dist.tar dist
- name: 'Upload Artifact'
uses: actions/upload-artifact@v2
with:
name: macOS
path: dist/
path: dist.tar
build-pypi:
runs-on: ubuntu-18.04