Skip to content

Commit

Permalink
再次尝试
Browse files Browse the repository at this point in the history
  • Loading branch information
DLmaster361 committed Nov 1, 2024
1 parent 55edfb7 commit 1b99590
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,11 @@ jobs:
run: |
Compress-Archive -Path gui,res,AUTO_MAA.py,Updater.py,package.py,dist/AUTO_MAA.exe,requirements.txt,README.md,LICENSE -DestinationPath AUTO_MAA_${{ env.AUTO_MAA_version }}.zip
Compress-Archive -Path gui,dist/Updater.exe -DestinationPath Updater_${{ env.updater_version }}.zip
- name: Upload AUTO_MAA Artifact
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: AUTO_MAA_${{ env.AUTO_MAA_version }}
path: AUTO_MAA_${{ env.AUTO_MAA_version }}.zip
- name: Upload Updater Artifact
uses: actions/upload-artifact@v4
with:
name: Updater_${{ env.updater_version }}
path: Updater_${{ env.updater_version }}.zip
path: AUTO_MAA_${{ env.AUTO_MAA_version }}.zip,Updater_${{ env.updater_version }}.zip
- name: Upload Update_Info Artifact
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -140,7 +135,7 @@ jobs:
NOTES_MAIN="$(sed 's/\r$//g' <(tail -n +3 update_info.txt))"
NOTES_TAIL="\`\`\`本release通过GitHub Actions自动构建\`\`\`"
NOTES="$NOTES_MAIN<br><br>$NOTES_TAIL"
gh release create "$TAGNAME" --target "Updater" --title "$NAME" --notes "$NOTES" artifacts/*
gh release create "$TAGNAME" --target "main" --title "$NAME" --notes "$NOTES" artifacts/*
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
- name: Update release
Expand All @@ -155,6 +150,6 @@ jobs:
NOTES_TAIL="\`\`\`本release通过GitHub Actions自动构建\`\`\`"
NOTES="$NOTES_MAIN<br><br>$NOTES_TAIL"
gh release delete "$TAGNAME" --yes
gh release create "$TAGNAME" --target "Updater" --title "$NAME" --notes "$NOTES" artifacts/*
gh release create "$TAGNAME" --target "main" --title "$NAME" --notes "$NOTES" artifacts/*
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plyer
PySide6
pycryptodome
pyinstaller
pyinstaller
requests

0 comments on commit 1b99590

Please sign in to comment.