mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 19:57:04 +05:30
github: revert Debian deployment changes
This commit is contained in:
parent
9ec709a458
commit
9f8fd43e60
3 changed files with 12 additions and 20 deletions
18
.github/ci-gradle.properties
vendored
18
.github/ci-gradle.properties
vendored
|
@ -1,11 +1,9 @@
|
||||||
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 \
|
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 \
|
||||||
--illegal-access=permit
|
--add-opens jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
|
||||||
# --add-opens java.base/java.io=ALL-UNNAMED \
|
--add-opens jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
|
||||||
# --add-opens jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
|
--add-opens jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
|
||||||
# --add-opens jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
|
--add-opens jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED \
|
||||||
# --add-opens jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
|
--add-opens jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \
|
||||||
# --add-opens jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED \
|
--add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \
|
||||||
# --add-opens jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \
|
--add-opens jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
|
||||||
# --add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \
|
--add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
|
||||||
# --add-opens jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
|
|
||||||
# --add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
|
|
||||||
|
|
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -60,11 +60,11 @@ jobs:
|
||||||
needs: [ "run-unit-tests", "stylecheck" ]
|
needs: [ "run-unit-tests", "stylecheck" ]
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Setup Java 16
|
- name: Setup Java 11
|
||||||
uses: actions/setup-java@d9126d7df2f1b080b603441eaf5810ced3614e78
|
uses: actions/setup-java@d9126d7df2f1b080b603441eaf5810ced3614e78
|
||||||
with:
|
with:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: '16'
|
java-version: '11'
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
@ -77,16 +77,11 @@ jobs:
|
||||||
env:
|
env:
|
||||||
ENCRYPT_KEY: ${{ secrets.ENCRYPT_KEY }}
|
ENCRYPT_KEY: ${{ secrets.ENCRYPT_KEY }}
|
||||||
|
|
||||||
- name: Build Android release
|
- name: Build release app
|
||||||
uses: burrunan/gradle-cache-action@03c71a8ba93d670980695505f48f49daf43704a6
|
uses: burrunan/gradle-cache-action@03c71a8ba93d670980695505f48f49daf43704a6
|
||||||
with:
|
with:
|
||||||
arguments: :android:assembleRelease
|
arguments: :android:assembleRelease
|
||||||
|
|
||||||
- name: Build Debian package
|
|
||||||
uses: burrunan/gradle-cache-action@03c71a8ba93d670980695505f48f49daf43704a6
|
|
||||||
with:
|
|
||||||
arguments: :desktop:packageDeb
|
|
||||||
|
|
||||||
- name: Clean secrets
|
- name: Clean secrets
|
||||||
run: scripts/signing-cleanup.sh
|
run: scripts/signing-cleanup.sh
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@ mkdir -p "$SSHDIR"
|
||||||
echo "$ACTIONS_DEPLOY_KEY" > "$SSHDIR/key"
|
echo "$ACTIONS_DEPLOY_KEY" > "$SSHDIR/key"
|
||||||
chmod 600 "$SSHDIR/key"
|
chmod 600 "$SSHDIR/key"
|
||||||
mkdir -p "$GITHUB_WORKSPACE/Claw"
|
mkdir -p "$GITHUB_WORKSPACE/Claw"
|
||||||
find . -type f -name '*.apk' -exec cp {} "$GITHUB_WORKSPACE/Claw/Claw.apk" \;
|
cp -v ./android/build/outputs/apk/release/android-release.apk "$GITHUB_WORKSPACE/Claw/Claw.apk"
|
||||||
find . -type f -name '*.deb' -exec cp {} "$GITHUB_WORKSPACE/Claw/" \;
|
|
||||||
cd "$GITHUB_WORKSPACE/Claw"
|
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"
|
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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue