mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
Android apk signing commands added
This commit is contained in:
parent
05af783bf4
commit
aa2f900468
17
.github/workflows/spotube-nightly.yml
vendored
17
.github/workflows/spotube-nightly.yml
vendored
@ -50,17 +50,16 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev make python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse
|
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev make python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse
|
||||||
- run: |
|
|
||||||
flutter pub get
|
- run: echo '${{ secrets.KEYSTORE }}' | base64 --decode > android/app/upload-keystore.jks
|
||||||
dart bin/create-secrets.dart '${{ secrets.LYRICS_SECRET }}' '${{ secrets.SPOTIFY_SECRET }}'
|
- run: echo '${{ secrets.KEY_PROPERTIES }}' > android/key.properties
|
||||||
dart pub global activate flutter_distributor
|
- run: flutter build apk
|
||||||
flutter_distributor package --platform=android --targets=apk --skip-clean
|
- run: make apk
|
||||||
- run: |
|
- uses: actions/upload-artifact@v2
|
||||||
mv dist/**/spotube-*-android.apk dist/Spotube-android-all-arch.apk
|
|
||||||
- uses: actions/upload-artifact@v3
|
|
||||||
with:
|
with:
|
||||||
name: Spotube-Android-Bundle
|
name: Spotube-Android-Bundle
|
||||||
path: dist/
|
path: |
|
||||||
|
build/Spotube-android-all-arch.apk
|
||||||
|
|
||||||
build_windows:
|
build_windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
21
.github/workflows/spotube-release.yml
vendored
21
.github/workflows/spotube-release.yml
vendored
@ -46,8 +46,8 @@ jobs:
|
|||||||
Set-Variable -Name HASH -Value (Get-FileHash dist\Spotube-windows-x86_64-setup.exe).Hash
|
Set-Variable -Name HASH -Value (Get-FileHash dist\Spotube-windows-x86_64-setup.exe).Hash
|
||||||
sed -i "s/%{{WIN_SHA256}}%/$HASH/" choco-struct/tools/VERIFICATION.txt
|
sed -i "s/%{{WIN_SHA256}}%/$HASH/" choco-struct/tools/VERIFICATION.txt
|
||||||
make choco
|
make choco
|
||||||
|
|
||||||
- run: mv dist/spotube.*.nupkg dist/Spotube-windows-x86_64.nupkg
|
- run: mv dist/spotube.*.nupkg dist/Spotube-windows-x86_64.nupkg
|
||||||
|
|
||||||
# Publish to Chocolatey Repository
|
# Publish to Chocolatey Repository
|
||||||
- run: |
|
- run: |
|
||||||
@ -145,17 +145,16 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev make python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse
|
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev make python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse
|
||||||
- run: |
|
|
||||||
flutter pub get
|
- run: echo '${{ secrets.KEYSTORE }}' | base64 --decode > android/app/upload-keystore.jks
|
||||||
dart bin/create-secrets.dart '${{ secrets.LYRICS_SECRET }}' '${{ secrets.SPOTIFY_SECRET }}'
|
- run: echo '${{ secrets.KEY_PROPERTIES }}' > android/key.properties
|
||||||
dart pub global activate flutter_distributor
|
- run: flutter build apk
|
||||||
flutter_distributor package --platform=android --targets=apk --skip-clean
|
- run: make apk
|
||||||
- run: |
|
- uses: actions/upload-artifact@v2
|
||||||
mv dist/**/spotube-*-android.apk dist/Spotube-android-all-arch.apk
|
|
||||||
- uses: actions/upload-artifact@v3
|
|
||||||
with:
|
with:
|
||||||
name: Spotube-Android-Bundle
|
name: Spotube-Android-Bundle
|
||||||
path: dist/
|
path: |
|
||||||
|
build/Spotube-android-all-arch.apk
|
||||||
|
|
||||||
update_release:
|
update_release:
|
||||||
needs:
|
needs:
|
||||||
|
@ -828,6 +828,13 @@ packages:
|
|||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.2.0"
|
version: "1.2.0"
|
||||||
|
resizable_widget:
|
||||||
|
dependency: "direct main"
|
||||||
|
description:
|
||||||
|
name: resizable_widget
|
||||||
|
url: "https://pub.dartlang.org"
|
||||||
|
source: hosted
|
||||||
|
version: "1.0.5"
|
||||||
riverpod:
|
riverpod:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -63,6 +63,7 @@ dependencies:
|
|||||||
hive_flutter: ^1.1.0
|
hive_flutter: ^1.1.0
|
||||||
dbus: ^0.7.3
|
dbus: ^0.7.3
|
||||||
audioplayers: ^1.0.1
|
audioplayers: ^1.0.1
|
||||||
|
resizable_widget: ^1.0.5
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
Loading…
Reference in New Issue
Block a user