mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-13 18:11:03 +08:00
feat: provide complete program installation package
This commit is contained in:
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@@ -226,7 +226,7 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Download artifact
|
||||
- name: Download artifact webui
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: dist
|
||||
@@ -236,6 +236,22 @@ jobs:
|
||||
run: |
|
||||
cd webui && ls -al && tree && zip -r dist.zip dist
|
||||
|
||||
- name: Download artifact app
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: dist
|
||||
path: backend/src/dist
|
||||
|
||||
- name: Create Version info via tag
|
||||
working-directory: ./backend/src
|
||||
run: |
|
||||
echo ${{ needs.version-info.outputs.version }}
|
||||
echo "VERSION='${{ needs.version-info.outputs.version }}'" >> module/__version__.py
|
||||
|
||||
- name: Zip app
|
||||
run: |
|
||||
cd backend && zip -r app.zip src
|
||||
|
||||
- name: Generate Release info
|
||||
id: release-info
|
||||
run: |
|
||||
@@ -257,6 +273,7 @@ jobs:
|
||||
prerelease: ${{ steps.release-info.outputs.pre_release == 'true' }}
|
||||
files: |
|
||||
webui/dist.zip
|
||||
backend/app.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user