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

View File

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