From d62dd46189d20446c6a39292dacfe0fa8717b2b9 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Thu, 13 Feb 2020 17:17:28 +0700 Subject: [PATCH] updated config yml --- .github/workflows/electron-dev.yml | 8 +++++++- .github/workflows/electron-sandbox.yml | 14 +++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/electron-dev.yml b/.github/workflows/electron-dev.yml index df60a80..c9d7917 100644 --- a/.github/workflows/electron-dev.yml +++ b/.github/workflows/electron-dev.yml @@ -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: diff --git a/.github/workflows/electron-sandbox.yml b/.github/workflows/electron-sandbox.yml index 04c71df..699f031 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 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: