mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45: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: |
|
||||
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
|
||||
- run: |
|
||||
flutter pub get
|
||||
dart bin/create-secrets.dart '${{ secrets.LYRICS_SECRET }}' '${{ secrets.SPOTIFY_SECRET }}'
|
||||
dart pub global activate flutter_distributor
|
||||
flutter_distributor package --platform=android --targets=apk --skip-clean
|
||||
- run: |
|
||||
mv dist/**/spotube-*-android.apk dist/Spotube-android-all-arch.apk
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
||||
- run: echo '${{ secrets.KEYSTORE }}' | base64 --decode > android/app/upload-keystore.jks
|
||||
- run: echo '${{ secrets.KEY_PROPERTIES }}' > android/key.properties
|
||||
- run: flutter build apk
|
||||
- run: make apk
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Spotube-Android-Bundle
|
||||
path: dist/
|
||||
path: |
|
||||
build/Spotube-android-all-arch.apk
|
||||
|
||||
build_windows:
|
||||
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
|
||||
sed -i "s/%{{WIN_SHA256}}%/$HASH/" choco-struct/tools/VERIFICATION.txt
|
||||
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
|
||||
- run: |
|
||||
@ -145,17 +145,16 @@ jobs:
|
||||
- run: |
|
||||
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
|
||||
- run: |
|
||||
flutter pub get
|
||||
dart bin/create-secrets.dart '${{ secrets.LYRICS_SECRET }}' '${{ secrets.SPOTIFY_SECRET }}'
|
||||
dart pub global activate flutter_distributor
|
||||
flutter_distributor package --platform=android --targets=apk --skip-clean
|
||||
- run: |
|
||||
mv dist/**/spotube-*-android.apk dist/Spotube-android-all-arch.apk
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
||||
- run: echo '${{ secrets.KEYSTORE }}' | base64 --decode > android/app/upload-keystore.jks
|
||||
- run: echo '${{ secrets.KEY_PROPERTIES }}' > android/key.properties
|
||||
- run: flutter build apk
|
||||
- run: make apk
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Spotube-Android-Bundle
|
||||
path: dist/
|
||||
path: |
|
||||
build/Spotube-android-all-arch.apk
|
||||
|
||||
update_release:
|
||||
needs:
|
||||
|
@ -828,6 +828,13 @@ packages:
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
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:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -63,6 +63,7 @@ dependencies:
|
||||
hive_flutter: ^1.1.0
|
||||
dbus: ^0.7.3
|
||||
audioplayers: ^1.0.1
|
||||
resizable_widget: ^1.0.5
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
Loading…
Reference in New Issue
Block a user