mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-06 03:05:35 +00:00
update release yml
This commit is contained in:
parent
b911224775
commit
569f86d76c
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -72,8 +72,9 @@ jobs:
|
||||
run: |
|
||||
python -m poetry run python manage.py --build
|
||||
env:
|
||||
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
|
||||
LASTFM_API_KEY: ${{ secrets.LASTFM_API_KEY }}
|
||||
PLUGIN_LYRICS_AUTHORITY: ${{ secrets.PLUGIN_LYRICS_AUTHORITY }}
|
||||
PLUGIN_LYRICS_ROOT_URL: ${{ secrets.PLUGIN_LYRICS_ROOT_URL }}
|
||||
- name: Verify Linux build success
|
||||
if: matrix.os == 'ubuntu-20.04'
|
||||
run: |
|
||||
@ -102,7 +103,7 @@ jobs:
|
||||
name: win32
|
||||
path: dist/swingmusic.exe
|
||||
retention-days: 1
|
||||
|
||||
|
||||
release:
|
||||
name: Create New Release
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -247,7 +247,8 @@ class Keys:
|
||||
def load(cls):
|
||||
if IS_BUILD:
|
||||
cls.LASTFM_API_KEY = configs.LASTFM_API_KEY
|
||||
cls.POSTHOG_API_KEY = configs.POSTHOG_API_KEY
|
||||
cls.PLUGIN_LYRICS_AUTHORITY = configs.PLUGIN_LYRICS_AUTHORITY
|
||||
cls.PLUGIN_LYRICS_ROOT_URL = configs.PLUGIN_LYRICS_ROOT_URL
|
||||
|
||||
cls.verify_keys()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user