updated yml config

This commit is contained in:
Sambo Chea 2020-02-13 17:05:40 +07:00
parent c6b0bbc794
commit 837b66aad7
2 changed files with 11 additions and 17 deletions

View File

@ -1,4 +1,4 @@
name: Sandbox Clinic Desktop for Dev
name: Sandbox Clinic Desktop For Dev
on: [push]
@ -29,16 +29,10 @@ jobs:
- name: Publish
run: |
yarn run dist
- name: Cleanup artifacts Linux and macOS For Dev
if: matrix.os != 'windows-latest'
- name: Cleanup artifacts Windows, Linux and macOS
run: |
mkdir artifacts
cp -R "dist/dev/(*.exe,*.deb,*.AppImage,*.dmg)" artifacts || true
- name: Cleanup artifacts Windowns for Dev
if: matrix.os == 'windows-latest'
run: |
mkdir artifacts
cp -R dist/dev/*.exe artifacts
mv dist/dev/{*.deb,*.exe,*.dmg,*.AppImage} 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 Linux and macOS
if: matrix.os != 'windows-latest'
- name: Cleanup artifacts Windows, Linux and macOS
# if: matrix.os != 'windows-latest'
run: |
mkdir artifacts
mv -r dist/sandbox/*.deb artifacts || true
- name: Cleanup artifacts Windowns
if: matrix.os == 'windows-latest'
run: |
mkdir artifacts
mv -r dist/sandbox/*.exe artifacts
mv 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: Upload artifacts
uses: actions/upload-artifact@v1
with: