diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index cd8110a..d413715 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -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