添加创建zip动作
This commit is contained in:
14
.github/workflows/python-app.yml
vendored
14
.github/workflows/python-app.yml
vendored
@@ -76,20 +76,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$VERSION=(Get-Content -Path "更新说明.txt" -TotalCount 1).Trim()
|
$VERSION=(Get-Content -Path "更新说明.txt" -TotalCount 1).Trim()
|
||||||
"version=$VERSION" | Out-File -FilePath $env:GITHUB_ENV -Append
|
"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
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: AUTO_MAA_${{ env.version }}
|
name: AUTO_MAA_${{ env.version }}
|
||||||
path: |
|
path: AUTO_MAA_${{ env.version }}.zip
|
||||||
data/**/*
|
|
||||||
gui/**/*
|
|
||||||
res/**/*
|
|
||||||
AUTO_MAA.py
|
|
||||||
dist/AUTO_MAA.exe
|
|
||||||
requirements.txt
|
|
||||||
README.md
|
|
||||||
LICENSE
|
|
||||||
更新说明.txt
|
|
||||||
publish_release:
|
publish_release:
|
||||||
name: Publish release
|
name: Publish release
|
||||||
needs: build_AUTO_MAA
|
needs: build_AUTO_MAA
|
||||||
|
|||||||
Reference in New Issue
Block a user