From 17097ea207089d780b3fadde1f9a201009a72973 Mon Sep 17 00:00:00 2001 From: l0ng-ai Date: Thu, 16 Jul 2026 23:15:39 +0800 Subject: [PATCH] fix(nightly): upload only packaged artifacts, not dist/ intermediates (#116) Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> --- .github/workflows/nightly.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 57099131..475df898 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -147,10 +147,18 @@ jobs: shell: pwsh run: '& ./.github/scripts/bundle-windows.ps1 "${{ matrix.target }}" "${{ matrix.arch }}"' + # Same glob list as release.yml's Release step: the bundle scripts leave + # intermediates in dist/ (tty7.app, entitlements.plist, the Windows + # staging dir) that must not reach the release assets. - uses: actions/upload-artifact@v4 with: name: nightly-${{ matrix.os }}-${{ matrix.arch }} - path: tty7/dist/* + path: | + tty7/dist/*.dmg + tty7/dist/*.tar.gz + tty7/dist/*.zip + tty7/dist/*-setup.exe + tty7/dist/*.AppImage if-no-files-found: error # Single publish step after all platforms succeed, so the rolling release is