Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/build-tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,24 @@ jobs:
CERTIFICATE_MACOS_P12_BASE64: ${{ secrets.CERTIFICATE_MACOS_P12_BASE64 }}
CERTIFICATE_MACOS_P12_PASSWORD: ${{ secrets.CERTIFICATE_MACOS_P12_PASSWORD }}

- name: Package AppImage and deb (Linux)
if: runner.os == 'Linux'
run: |
# aw-tauri's package target produces AppImage/deb alongside the zip;
# copy them to dist/ so the Upload step picks them up as standalone artifacts.
APPIMAGE=$(find dist/activitywatch/aw-tauri -name "*.AppImage" 2>/dev/null | head -1)
if [ -n "$APPIMAGE" ]; then
cp "$APPIMAGE" "dist/activitywatch-tauri-${VERSION_WITH_V}-linux-$(uname -m).AppImage"
echo "Packaged AppImage: dist/activitywatch-tauri-${VERSION_WITH_V}-linux-$(uname -m).AppImage"
else
echo "Warning: no AppImage found in dist/activitywatch/aw-tauri/"
fi
DEB=$(find dist/activitywatch/aw-tauri -name "*.deb" 2>/dev/null | head -1)
if [ -n "$DEB" ]; then
cp "$DEB" "dist/activitywatch-tauri-${VERSION_WITH_V}-linux-$(uname -m).deb"
echo "Packaged deb: dist/activitywatch-tauri-${VERSION_WITH_V}-linux-$(uname -m).deb"
fi
Comment thread
TimeToBuildBob marked this conversation as resolved.
Comment thread
TimeToBuildBob marked this conversation as resolved.

- name: Upload packages
uses: actions/upload-artifact@v7
with:
Expand Down
Loading