updated config yml

This commit is contained in:
Sambo Chea 2020-02-13 17:17:28 +07:00
parent 3c2bb664ce
commit d62dd46189
2 changed files with 14 additions and 8 deletions

View File

@ -29,10 +29,16 @@ jobs:
- name: Publish
run: |
yarn run dist
- name: Cleanup artifacts Windows, Linux and macOS
- name: Cleanup artifacts Linux and macOS
if: matrix.os != 'windows-latest'
run: |
mkdir artifacts
mv -t dist/dev/{*.deb,*.exe,*.dmg,*.AppImage} artifacts
- name: Cleanup artifacts Windowns
if: matrix.os == 'windows-latest'
run: |
mkdir artifacts
mv dist/sandbox/*.exe artifacts
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:

View File

@ -29,16 +29,16 @@ jobs:
- name: Publish
run: |
yarn run sandbox
- name: Cleanup artifacts Windows, Linux and macOS
# if: matrix.os != 'windows-latest'
- name: Cleanup artifacts Linux and macOS
if: matrix.os != 'windows-latest'
run: |
mkdir artifacts
mv -t dist/sandbox/{*.deb,*.exe,*.dmg,*.AppImage} artifacts
# - name: Cleanup artifacts Windowns
# if: matrix.os == 'windows-latest'
# run: |
# mkdir artifacts
# mv dist/sandbox/*.exe artifacts
- name: Cleanup artifacts Windowns
if: matrix.os == 'windows-latest'
run: |
mkdir artifacts
mv dist/sandbox/*.exe artifacts
- name: Upload artifacts
uses: actions/upload-artifact@v1
with: