mirror of
https://github.com/ReVax-2007/cipher_master.git
synced 2026-09-17 21:32:27 +00:00
Compare commits
7 Commits
feature/ne
...
54ab679477
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
54ab679477 | ||
|
|
b114828dd3 | ||
|
|
7f81eb6421 | ||
|
|
a2a8e0199a | ||
|
|
ca00312695 | ||
|
|
239dd0ad35 | ||
|
|
7cddbcedf2 |
57
.github/workflows/release.yml
vendored
57
.github/workflows/release.yml
vendored
@@ -49,3 +49,60 @@ jobs:
|
|||||||
releaseBody: 'Download the compiled standalone application binaries below.'
|
releaseBody: 'Download the compiled standalone application binaries below.'
|
||||||
releaseDraft: true
|
releaseDraft: true
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
|
android:
|
||||||
|
name: Android APK and AAB
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: temurin
|
||||||
|
java-version: '17'
|
||||||
|
|
||||||
|
- name: Setup Android SDK
|
||||||
|
uses: android-actions/setup-android@v3
|
||||||
|
with:
|
||||||
|
packages: ''
|
||||||
|
|
||||||
|
- name: Install Android SDK packages
|
||||||
|
run: sdkmanager "platform-tools" "platforms;android-35" "build-tools;35.0.0" "ndk;27.2.12479018"
|
||||||
|
|
||||||
|
- name: Install Rust
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
targets: aarch64-linux-android, armv7-linux-androideabi, i686-linux-android, x86_64-linux-android
|
||||||
|
|
||||||
|
- name: Install Tauri CLI
|
||||||
|
run: cargo install tauri-cli --version '^2.0' --locked
|
||||||
|
|
||||||
|
- name: Initialize Android project
|
||||||
|
working-directory: src-tauri
|
||||||
|
run: cargo tauri android init
|
||||||
|
|
||||||
|
- name: Build Android packages
|
||||||
|
working-directory: src-tauri
|
||||||
|
run: cargo tauri android build --apk --aab
|
||||||
|
|
||||||
|
- name: Upload Android packages
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: cipher-master-android-${{ github.ref_name }}
|
||||||
|
path: |
|
||||||
|
src-tauri/gen/android/app/build/outputs/apk/**/*.apk
|
||||||
|
src-tauri/gen/android/app/build/outputs/bundle/**/*.aab
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Attach Android packages to GitHub release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
src-tauri/gen/android/app/build/outputs/apk/**/*.apk
|
||||||
|
src-tauri/gen/android/app/build/outputs/bundle/**/*.aab
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -8,5 +8,55 @@
|
|||||||
"The strongest key is often the question nobody thought to ask.",
|
"The strongest key is often the question nobody thought to ask.",
|
||||||
"A secret loses its power when a brave mind learns how to read it.",
|
"A secret loses its power when a brave mind learns how to read it.",
|
||||||
"Every complex puzzle becomes smaller when its rules are made visible.",
|
"Every complex puzzle becomes smaller when its rules are made visible.",
|
||||||
"Knowledge is not a locked room; it is a path made by patient footsteps."
|
"Knowledge is not a locked room; it is a path made by patient footsteps.",
|
||||||
|
"The important thing is not to stop questioning.",
|
||||||
|
"Wonder is the beginning of wisdom.",
|
||||||
|
"Everything is theoretically impossible, until it is done.",
|
||||||
|
"If we knew what it was we were doing, it would not be called research.",
|
||||||
|
"The unexamined life is not worth living.",
|
||||||
|
"Somewhere, something incredible is waiting to be known.",
|
||||||
|
"Curiosity is the wick in the candle of learning.",
|
||||||
|
"Judge a man by his questions rather than by his answers.",
|
||||||
|
"To raise new questions is to mark real advance.",
|
||||||
|
"Invention is little more than a new combination of previous thoughts.",
|
||||||
|
"It's not that I'm so smart, it's just that I stay with problems longer.",
|
||||||
|
"Patience is bitter, but its fruit is sweet.",
|
||||||
|
"By persistence, the snail reached the ark.",
|
||||||
|
"Nature uses as little as possible of anything.",
|
||||||
|
"In all things, the supreme excellence is simplicity.",
|
||||||
|
"The secret of getting ahead is getting started.",
|
||||||
|
"Fall seven times, stand up eight.",
|
||||||
|
"A journey of a thousand miles begins with a single step.",
|
||||||
|
"What we know is a drop, what we don't know is an ocean.",
|
||||||
|
"Little by little, a little becomes a lot.",
|
||||||
|
"It is the mark of an educated mind to entertain a thought without accepting it.",
|
||||||
|
"The truth is rarely pure and never simple.",
|
||||||
|
"There are no whole truths; all truths are half-truths.",
|
||||||
|
"Not everything that can be counted counts.",
|
||||||
|
"To see what is in front of one's nose needs a constant struggle.",
|
||||||
|
"Perspective is worth eighty points of intelligence.",
|
||||||
|
"What you seek is seeking you.",
|
||||||
|
"The eye sees only what the mind is prepared to comprehend.",
|
||||||
|
"All our knowledge begins with the senses.",
|
||||||
|
"It is impossible for a man to learn what he thinks he already knows.",
|
||||||
|
"Knowledge speaks, but wisdom listens.",
|
||||||
|
"To know what you know and what you do not know is true knowledge.",
|
||||||
|
"An investment in knowledge pays the best interest.",
|
||||||
|
"Thinking is the hardest work there is.",
|
||||||
|
"Action is the foundational key to all success.",
|
||||||
|
"In theory, there is no difference between theory and practice.",
|
||||||
|
"Tell me and I forget, teach me and I may remember.",
|
||||||
|
"The art of being wise is knowing what to overlook.",
|
||||||
|
"Change your thoughts and you change your world.",
|
||||||
|
"Doubt is not a pleasant condition, but certainty is absurd.",
|
||||||
|
"The most beautiful experience we can have is the mysterious.",
|
||||||
|
"When you have eliminated the impossible, whatever remains must be the truth.",
|
||||||
|
"There is no heavier burden than a great potential.",
|
||||||
|
"A puzzle is only hard until you see the missing piece.",
|
||||||
|
"To ask the right question is already half the solution.",
|
||||||
|
"The universe is full of magical things waiting for our wits to grow.",
|
||||||
|
"Wonder is the feeling of a philosopher.",
|
||||||
|
"Errors are not in the art, but in the artificer.",
|
||||||
|
"A paradox is a signpost on the road to truth.",
|
||||||
|
"Significant problems cannot be solved with the same level of thinking that created them.",
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user