Skip to content

Commit

Permalink
#121 复制README.pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorReid committed Dec 24, 2023
1 parent 2fe8cff commit 9320f3d
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ jobs:
with:
fetch-depth: 1

- name: Checkout wiki
uses: actions/checkout@v4
with:
repository: DoctorReid/StarRailAutoProxy.wiki
ref: master
fetch-depth: 1
path: wiki

- name: Get latest update time
run: |
$config_time = git log -1 --format="%ad" --date=format:'%Y-%m-%d %H:%M:%S' -- config
Expand Down Expand Up @@ -60,8 +52,17 @@ jobs:
- name: Package Exe by PyInstaller
run: pyinstaller src/gui/app.py --name StarRailAutoProxy --clean --noconfirm --noconsole --icon "images/ui/icon.ico" --add-data "images:images" --add-data "data:data" --add-data "config:config" --add-data "model:model" --add-data "version.yml:." --add-data "update_by_temp.bat:." --collect-all paddle --collect-all paddleocr --collect-all shapely --collect-all pyclipper --collect-all skimage --collect-all imghdr --collect-all imgaug --collect-all lmdb

- name: Checkout wiki
uses: actions/checkout@v4
with:
repository: DoctorReid/StarRailAutoProxy.wiki
ref: master
fetch-depth: 1
path: wiki

- name: Zip All
run: |
cp ./wiki/output/README.pdf ./dist/StarRailAutoProxy/
cd dist
7z a StarRailAutoProxy-${{ github.event.release.tag_name }}.zip StarRailAutoProxy
7z a -r config.zip StarRailAutoProxy/_internal/config/**
Expand Down

0 comments on commit 9320f3d

Please sign in to comment.