Skip to content

Commit

Permalink
添加创建zip动作
Browse files Browse the repository at this point in the history
  • Loading branch information
DLmaster361 committed Sep 9, 2024
1 parent 3c95e58 commit 6aed64c
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,14 @@ jobs:
run: |
$VERSION=(Get-Content -Path "更新说明.txt" -TotalCount 1).Trim()
"version=$VERSION" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Create Zip
run: |
zip -r AUTO_MAA_${{ env.version }}.zip data/**/* gui/**/* res/**/* AUTO_MAA.py dist/AUTO_MAA.exe requirements.txt README.md LICENSE 更新说明.txt
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: AUTO_MAA_${{ env.version }}
path: |
data/**/*
gui/**/*
res/**/*
AUTO_MAA.py
dist/AUTO_MAA.exe
requirements.txt
README.md
LICENSE
更新说明.txt
path: AUTO_MAA_${{ env.version }}.zip
publish_release:
name: Publish release
needs: build_AUTO_MAA
Expand Down

0 comments on commit 6aed64c

Please sign in to comment.