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: