diff --git a/.github/workflows/linter-and-test.yml b/.github/workflows/linter-and-test.yml index e6a69df270..f8bbcd3411 100644 --- a/.github/workflows/linter-and-test.yml +++ b/.github/workflows/linter-and-test.yml @@ -26,6 +26,12 @@ jobs: test-on-macos: runs-on: [self-hosted, macOS, macos-desktop] steps: + - name: 'Cleanup build folder' + run: | + ls -la ./ + rm -rf ./* || true + rm -rf ./.??* || true + ls -la ./ - name: Getting the repo uses: actions/checkout@v3 @@ -48,6 +54,9 @@ jobs: test-on-windows: runs-on: [self-hosted, Windows, windows-desktop] steps: + - name: Clean workspace + run: | + Remove-Item -Path .\* -Force -Recurse - name: Getting the repo uses: actions/checkout@v3 @@ -68,6 +77,12 @@ jobs: test-on-ubuntu: runs-on: [self-hosted, Linux, ubuntu-desktop] steps: + - name: 'Cleanup build folder' + run: | + ls -la ./ + rm -rf ./* || true + rm -rf ./.??* || true + ls -la ./ - name: Getting the repo uses: actions/checkout@v3 diff --git a/electron/icon.png b/electron/icons/icon.png similarity index 100% rename from electron/icon.png rename to electron/icons/icon.png diff --git a/electron/package.json b/electron/package.json index 5df518e7a1..615659dd68 100644 --- a/electron/package.json +++ b/electron/package.json @@ -32,7 +32,16 @@ "entitlementsInherit": "./entitlements.mac.plist", "notarize": { "teamId": "YT49P7GXG4" - } + }, + "icon": "icons/icon.png" + }, + "linux": { + "target": ["deb"], + "category": "Utility", + "icon": "icons/" + }, + "win": { + "icon": "icons/icon.png" }, "artifactName": "jan-${os}-${arch}-${version}.${ext}" },