diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml index 45ea802..9152fb3 100644 --- a/.github/workflows/release-desktop.yml +++ b/.github/workflows/release-desktop.yml @@ -4,6 +4,7 @@ on: push: branches: - release-testing + - main tags: - 'v*.*.*' @@ -211,14 +212,6 @@ jobs: echo "Stapling DMG/ZIP artifacts..." find dist-app -type f \( -name "*.dmg" -o -name "*.zip" \) -print0 | xargs -0 -I{} xcrun stapler staple -v "{}" || true - - name: Package desktop MSIX (no publish for branches) - if: startsWith(github.ref, 'refs/heads/') && runner.os == 'Windows' - working-directory: desktop - shell: bash - run: | - # Build Windows MSIX/AppX package for Store submission - npx electron-builder --win appx --publish never - - name: Package and publish desktop app (tags/releases) if: startsWith(github.ref, 'refs/tags/') working-directory: desktop @@ -260,16 +253,6 @@ jobs: echo "Stapling DMG/ZIP artifacts..." find dist-app -type f \( -name "*.dmg" -o -name "*.zip" \) -print0 | xargs -0 -I{} xcrun stapler staple -v "{}" || true - - name: Package and publish Windows MSIX (tags/releases) - if: startsWith(github.ref, 'refs/tags/') && runner.os == 'Windows' - working-directory: desktop - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - shell: bash - run: | - # Build and (if configured) publish Windows MSIX/AppX artifact - npx electron-builder --win appx - - name: Upload packaged artifacts uses: actions/upload-artifact@v4 with: @@ -281,15 +264,4 @@ jobs: if-no-files-found: error retention-days: 7 - - name: Upload Windows MSIX artifact - if: runner.os == 'Windows' - uses: actions/upload-artifact@v4 - with: - name: desktop-windows-msix - path: | - desktop/dist-app/**/*.msix - desktop/dist-app/**/*.appx - if-no-files-found: warn - retention-days: 7 -