Skip to content

Commit b4ea8d5

Browse files
committed
workflow updates
1 parent d898f10 commit b4ea8d5

1 file changed

Lines changed: 25 additions & 34 deletions

File tree

.github/workflows/android-build.yml

Lines changed: 25 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,23 @@ jobs:
100100
101101
echo "Found APK: $APK_FILE"
102102
103+
# Find the correct build-tools version
104+
BUILD_TOOLS_VERSION=$(ls $ANDROID_HOME/build-tools/ | sort -V | tail -1)
105+
APKSIGNER_PATH="$ANDROID_HOME/build-tools/$BUILD_TOOLS_VERSION/apksigner"
106+
107+
echo "Using build-tools version: $BUILD_TOOLS_VERSION"
108+
echo "APK signer path: $APKSIGNER_PATH"
109+
110+
# Check if apksigner exists
111+
if [ ! -f "$APKSIGNER_PATH" ]; then
112+
echo "Error: apksigner not found at $APKSIGNER_PATH"
113+
echo "Available build-tools versions:"
114+
ls -la $ANDROID_HOME/build-tools/
115+
exit 1
116+
fi
117+
103118
# Sign the APK
104-
$ANDROID_HOME/build-tools/*/apksigner sign \
119+
"$APKSIGNER_PATH" sign \
105120
--ks keystore.jks \
106121
--ks-key-alias "${{ secrets.KEY_ALIAS }}" \
107122
--ks-pass pass:"${{ secrets.KEYSTORE_PASSWORD }}" \
@@ -110,7 +125,7 @@ jobs:
110125
"$APK_FILE"
111126
112127
# Verify the signature
113-
$ANDROID_HOME/build-tools/*/apksigner verify "${APK_FILE%.apk}-signed.apk"
128+
"$APKSIGNER_PATH" verify "${APK_FILE%.apk}-signed.apk"
114129
115130
echo "APK signed and verified successfully"
116131
@@ -217,46 +232,22 @@ jobs:
217232
with:
218233
name: ClipSync Android ${{ needs.build.outputs.version }}
219234
body: |
220-
# 🎉 Introducing ClipSync Android ${{ needs.build.outputs.version }} 🎉
235+
This is very first official release of **ClipSync for Android**! 🚀
221236
222-
Welcome to the very first official release of **ClipSync for Android**! 🚀
223-
224-
ClipSync bridges your clipboard between Android and Windows devices—instantly and wirelessly. Copy text on your phone, paste it on your PC, and vice versa. No cloud, no ads, just seamless Bluetooth-powered productivity!
225-
226-
## What is ClipSync?
227237
ClipSync is a privacy-first clipboard sharing app that connects your Android and Windows devices over Bluetooth. Effortlessly share text between your phone and computer with a single tap—perfect for students, professionals, and anyone tired of emailing themselves snippets!
228-
229-
- 🔄 **Instant clipboard sharing** between Android and Windows
230-
- 🔒 **Private & local**: No data ever leaves your devices
231-
- 🌙 **Dark & Light themes**
232-
- ⚡ **Optimized for speed** with our special benchmarkRelease build
233-
234-
## Installation
235-
236-
1. Download the APK file below
237-
2. Enable "Install from unknown sources" in your Android settings
238-
3. Install the APK file
239-
4. Pair with your Windows device (see README for details)
240-
241-
## System Requirements
242-
- Android 7.0 (API level 24) or higher
243-
- Bluetooth capability (for device synchronization)
244-
245-
## Security
246-
This APK is signed with our release key for security and authenticity. Your clipboard data stays on your devices—no servers, no snooping.
247-
248-
## What's New
249-
This is our **first release**! 🎊
238+
239+
### What's New
240+
This is our **first official release**! 🎊
250241
- Android ↔ Windows clipboard sync
251242
- Bluetooth device discovery & pairing
252243
- Service-based background listening
253244
- Theme switching & intuitive UI
254-
245+
246+
### Security
247+
This APK is signed with our release key for security and authenticity. Your clipboard data stays on your devices—no servers, no snooping.
248+
255249
For more details, check the [CHANGELOG](CHANGELOG.md).
256250
257-
---
258-
Thank you for trying ClipSync! If you love it, star the repo and share feedback. Happy syncing!
259-
260251
files: ./apk/*.apk
261252
draft: false
262253
prerelease: false

0 commit comments

Comments
 (0)