From 6aed64ce4e0ea32961cc8ca71d0171c376f88f72 Mon Sep 17 00:00:00 2001 From: DLmaster Date: Tue, 10 Sep 2024 07:32:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=9B=E5=BB=BAzip?= =?UTF-8?q?=E5=8A=A8=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/python-app.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) 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