mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
cd: use build runner and remove script based gen secret
This commit is contained in:
parent
10f1c675d0
commit
f1f60b9ad4
10
.github/workflows/spotube-release-binary.yml
vendored
10
.github/workflows/spotube-release-binary.yml
vendored
@ -61,7 +61,7 @@ jobs:
|
||||
run: |
|
||||
flutter config --enable-windows-desktop
|
||||
flutter pub get
|
||||
dart bin/create-secrets.dart '${{ secrets.LYRICS_SECRET }}' '${{ secrets.SPOTIFY_SECRET }}'
|
||||
flutter pub run build_runner build --delete-conflicting-outputs
|
||||
|
||||
- name: Build Windows Executable
|
||||
run: |
|
||||
@ -136,7 +136,7 @@ jobs:
|
||||
run: |
|
||||
flutter config --enable-linux-desktop
|
||||
flutter pub get
|
||||
dart bin/create-secrets.dart '${{ secrets.LYRICS_SECRET }}' '${{ secrets.SPOTIFY_SECRET }}'
|
||||
flutter pub run build_runner build --delete-conflicting-outputs
|
||||
|
||||
- name: Build Linux Packages
|
||||
run: |
|
||||
@ -200,10 +200,10 @@ jobs:
|
||||
if: ${{ inputs.channel == 'nightly' }}
|
||||
run: echo '${{ secrets.DOTENV_NIGHTLY }}' > .env
|
||||
|
||||
- name: Generate Secrets and Build apk
|
||||
- name: Generate Secrets
|
||||
run: |
|
||||
flutter pub get
|
||||
dart bin/create-secrets.dart '${{ secrets.LYRICS_SECRET }}' '${{ secrets.SPOTIFY_SECRET }}'
|
||||
flutter pub run build_runner build --delete-conflicting-outputs
|
||||
|
||||
- name: Sign Apk
|
||||
run: |
|
||||
@ -253,7 +253,7 @@ jobs:
|
||||
- name: Generate Secrets
|
||||
run: |
|
||||
flutter pub get
|
||||
dart bin/create-secrets.dart '${{ secrets.LYRICS_SECRET }}' '${{ secrets.SPOTIFY_SECRET }}'
|
||||
flutter pub run build_runner build --delete-conflicting-outputs
|
||||
|
||||
- name: Build Macos App
|
||||
run: |
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -68,7 +68,6 @@ installer.exe
|
||||
*.env
|
||||
lib/collections/env.g.dart
|
||||
help.txt
|
||||
secrets.json
|
||||
|
||||
dist
|
||||
appimage-build
|
||||
|
Loading…
Reference in New Issue
Block a user