From 837b66aad737d37ad60847c5637c78a61133f1cf Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Thu, 13 Feb 2020 17:05:40 +0700 Subject: [PATCH] updated yml config --- .github/workflows/electron-dev.yml | 12 +++--------- .github/workflows/electron-sandbox.yml | 16 ++++++++-------- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/.github/workflows/electron-dev.yml b/.github/workflows/electron-dev.yml index f92749b..6d09494 100644 --- a/.github/workflows/electron-dev.yml +++ b/.github/workflows/electron-dev.yml @@ -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: diff --git a/.github/workflows/electron-sandbox.yml b/.github/workflows/electron-sandbox.yml index 650ebf1..ec0fd96 100644 --- a/.github/workflows/electron-sandbox.yml +++ b/.github/workflows/electron-sandbox.yml @@ -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: