mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-13 18:10:42 +01:00
Merge branch 'master' of https://github.com/PaddiM8/kalk
This commit is contained in:
commit
265a4bb2e7
42
.github/workflows/release.yml
vendored
42
.github/workflows/release.yml
vendored
@ -34,7 +34,6 @@ jobs:
|
|||||||
registry-url: https://registry.npmjs.org/
|
registry-url: https://registry.npmjs.org/
|
||||||
- name: Install wasm-pack
|
- name: Install wasm-pack
|
||||||
run: cargo install --git https://github.com/rustwasm/wasm-pack.git --rev d46d1c69b788956160deed5e4e603f4f2780ffcf
|
run: cargo install --git https://github.com/rustwasm/wasm-pack.git --rev d46d1c69b788956160deed5e4e603f4f2780ffcf
|
||||||
#run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
yarn install
|
yarn install
|
||||||
@ -135,10 +134,49 @@ jobs:
|
|||||||
name: binaries
|
name: binaries
|
||||||
path: kalk_cli/target/wix/kalk-windows.msi
|
path: kalk_cli/target/wix/kalk-windows.msi
|
||||||
|
|
||||||
|
release_android:
|
||||||
|
name: release android
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: ./kalk_mobile
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
kalk_mobile/android/.gradle
|
||||||
|
kalk_mobile/android/build
|
||||||
|
kalk_mobile/android/app/build
|
||||||
|
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
||||||
|
- name: npm
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
- name: build app
|
||||||
|
run: |
|
||||||
|
npx cap sync
|
||||||
|
cd android
|
||||||
|
./gradlew assembleRelease
|
||||||
|
- uses: r0adkll/sign-android-release@v1
|
||||||
|
name: sign apk
|
||||||
|
with:
|
||||||
|
releaseDirectory: kalk_mobile/android/app/build/outputs/apk/release
|
||||||
|
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
|
||||||
|
alias: ${{ secrets.ALIAS }}
|
||||||
|
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||||
|
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||||
|
- run: mv android/app/build/outputs/apk/release/app-release-unsigned-signed.apk ./kalk-android.apk
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: binaries
|
||||||
|
path: kalk_mobile/kalk-android.apk
|
||||||
|
|
||||||
create_release:
|
create_release:
|
||||||
name: Create Release
|
name: Create Release
|
||||||
if: always()
|
if: always()
|
||||||
needs: [release_linux, release_mac, release_windows]
|
needs: [release_linux, release_mac, release_windows, release_android]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
|
@ -29,8 +29,8 @@ Kalk is a calculator (both program and library) that supports user-defined varia
|
|||||||
There are currently three different libraries related to kalk.
|
There are currently three different libraries related to kalk.
|
||||||
|
|
||||||
* [kalk](https://crates.io/crates/kalk): The Rust crate that powers it all.
|
* [kalk](https://crates.io/crates/kalk): The Rust crate that powers it all.
|
||||||
* [@paddim8/kalk](https://www.npmjs.com/package/@paddim8/kalk): JavaScript bindings to `kalk`. This lets you use it in the browser, thanks to WebAssembly.
|
* [@paddim8/kalk](https://www.npmjs.com/package/@paddim8/kalk): JavaScript bindings for `kalk`. This lets you use it in the browser thanks to WebAssembly.
|
||||||
* [@paddim8/kalk-component](https://www.npmjs.com/package/@paddim8/kalk-component): A web component that acts as a frontend to `@paddim8/kalk`, which lets you use kalk in the browser with a command line-like interface.
|
* [@paddim8/kalk-component](https://www.npmjs.com/package/@paddim8/kalk-component): A web component that runs `@paddim8/kalk`, which let's you use kalk in the browser with a command line-like interface.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user