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: