Update electron.yml

This commit is contained in:
Sambo Chea 2020-02-13 13:52:27 +07:00 committed by GitHub
parent 956077baa1
commit fea5f32f99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,22 +32,12 @@ jobs:
if: matrix.os != 'windows-latest' if: matrix.os != 'windows-latest'
run: | run: |
mkdir artifacts mkdir artifacts
mv 'dist/(*.exe,*.deb,*.AppImage,*.dmg)' artifacts || true mv "dist/(*.exe,*.deb,*.AppImage,*.dmg)" artifacts || true
- name: Cleanup artifacts Win - name: Cleanup artifacts Win
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
run: | run: |
mkdir artifacts mkdir artifacts
mv dist/*.exe artifacts mv dist/*.exe artifacts
- name: Cleanup artifacts Mac
if: matrix.os == 'macOS-latest'
run: |
mkdir artifacts
mv dist/*.dmg artifacts
- name: Cleanup artifacts Ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
mkdir artifacts
mv dist/*.deb artifacts
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with: