Skip to content

Commit

Permalink
设置下自动更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
bamboo98 committed Aug 3, 2024
1 parent b473c20 commit ca83cb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install pipreqs
pipreqs src --encoding=utf8 --force
pip install -r src/requirements.txt
- name: Build executable
Expand All @@ -34,7 +36,7 @@ jobs:
- name: Create zip file
run: |
powershell Compress-Archive -Path ZZZ_Copilot.exe, assets -DestinationPath release.zip
powershell Compress-Archive -Path ZZZ_Copilot.exe, assets -DestinationPath ZZZ_Copilot.zip
- name: Create Release
id: create_release
Expand All @@ -53,6 +55,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./release.zip
asset_name: release.zip
asset_path: ./ZZZ_Copilot.zip
asset_name: ZZZ_Copilot.zip
asset_content_type: application/zip
1 change: 1 addition & 0 deletions src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
MaaFw==1.8.9
psutil==6.0.0

0 comments on commit ca83cb3

Please sign in to comment.