mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05: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: |
|
run: |
|
||||||
flutter config --enable-windows-desktop
|
flutter config --enable-windows-desktop
|
||||||
flutter pub get
|
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
|
- name: Build Windows Executable
|
||||||
run: |
|
run: |
|
||||||
@ -136,7 +136,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
flutter config --enable-linux-desktop
|
flutter config --enable-linux-desktop
|
||||||
flutter pub get
|
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
|
- name: Build Linux Packages
|
||||||
run: |
|
run: |
|
||||||
@ -200,10 +200,10 @@ jobs:
|
|||||||
if: ${{ inputs.channel == 'nightly' }}
|
if: ${{ inputs.channel == 'nightly' }}
|
||||||
run: echo '${{ secrets.DOTENV_NIGHTLY }}' > .env
|
run: echo '${{ secrets.DOTENV_NIGHTLY }}' > .env
|
||||||
|
|
||||||
- name: Generate Secrets and Build apk
|
- name: Generate Secrets
|
||||||
run: |
|
run: |
|
||||||
flutter pub get
|
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
|
- name: Sign Apk
|
||||||
run: |
|
run: |
|
||||||
@ -253,7 +253,7 @@ jobs:
|
|||||||
- name: Generate Secrets
|
- name: Generate Secrets
|
||||||
run: |
|
run: |
|
||||||
flutter pub get
|
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
|
- name: Build Macos App
|
||||||
run: |
|
run: |
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -68,7 +68,6 @@ installer.exe
|
|||||||
*.env
|
*.env
|
||||||
lib/collections/env.g.dart
|
lib/collections/env.g.dart
|
||||||
help.txt
|
help.txt
|
||||||
secrets.json
|
|
||||||
|
|
||||||
dist
|
dist
|
||||||
appimage-build
|
appimage-build
|
||||||
|
Loading…
Reference in New Issue
Block a user