mirror of
https://github.com/cxfksword/jellyfin-plugin-danmu.git
synced 2026-04-24 10:30:33 +08:00
Fix github action build
This commit is contained in:
2
.github/workflows/publish.yaml
vendored
2
.github/workflows/publish.yaml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
with:
|
||||
dotnet-version: ${{ env.dotnet-version }}
|
||||
- name: Restore nuget packages
|
||||
run: dotnet restore ${{ env.project }}
|
||||
run: dotnet restore ${{ env.project }} # 需要指定项目,要不然会同时build多个项目导致出错
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
|
||||
@@ -39,9 +39,10 @@ os.system('jprm repo add --url=%s %s %s' % (jellyfin_repo_url, jellyfin_repo_fil
|
||||
|
||||
os.system('sed -i "s/\/danmu\//\/%s\//" %s' % (git_version, jellyfin_repo_file))
|
||||
|
||||
# 国内加速
|
||||
os.system('cp -f %s %s' % (jellyfin_repo_file, jellyfin_repo_file_cn))
|
||||
|
||||
os.system('sed "s/github.com/raw.iqiq.io/" %s' % (jellyfin_repo_file_cn))
|
||||
os.system('sed -i "s/github.com/raw.iqiq.io/" %s' % (jellyfin_repo_file_cn))
|
||||
|
||||
|
||||
print(version)
|
||||
|
||||
Reference in New Issue
Block a user