github: switch snapshots for debug builds
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
@@ -27,7 +27,7 @@ jobs:
|
||||
- name: Build release app
|
||||
uses: burrunan/gradle-cache-action@03c71a8ba93d670980695505f48f49daf43704a6
|
||||
with:
|
||||
arguments: :app:assembleRelease
|
||||
arguments: :app:assembleDebug
|
||||
|
||||
- name: Clean secrets
|
||||
run: scripts/signing-cleanup.sh
|
||||
|
||||
@@ -9,6 +9,6 @@ mkdir -p "$SSHDIR"
|
||||
echo "$ACTIONS_DEPLOY_KEY" > "$SSHDIR/key"
|
||||
chmod 600 "$SSHDIR/key"
|
||||
mkdir -p "$GITHUB_WORKSPACE/Claw"
|
||||
cp -v ./app/build/outputs/apk/release/app-release.apk "$GITHUB_WORKSPACE/Claw/Claw-${VERSION_NAME}.apk"
|
||||
cp -v ./app/build/outputs/apk/debug/app-debug.apk "$GITHUB_WORKSPACE/Claw/Claw-${VERSION_NAME}.apk"
|
||||
cd "$GITHUB_WORKSPACE/Claw"
|
||||
rsync -ahvcr --omit-dir-times --progress --delete --no-o --no-g -e "ssh -i $SSHDIR/key -o StrictHostKeyChecking=no -p $SSH_PORT" . "$SERVER_DEPLOY_STRING"
|
||||
|
||||
Reference in New Issue
Block a user