This commit is contained in:
Sambo Chea 2020-02-13 13:49:09 +07:00
parent e8ec72c360
commit 956077baa1

View File

@ -32,12 +32,22 @@ jobs:
if: matrix.os != 'windows-latest' if: matrix.os != 'windows-latest'
run: | run: |
mkdir artifacts mkdir artifacts
mv 'dist/(*.exe,*.deb,*.AppImage,*.dmg)' artifacts 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: