Skip to content

Commit

Permalink
🐛 修复github acthion错误
Browse files Browse the repository at this point in the history
  • Loading branch information
wling-art committed Feb 9, 2024
1 parent 280ea18 commit d741754
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build binaries and Upload to Release

on:
push:
branches: [ main ]
branches: [main]
paths:
- "version"
workflow_dispatch: {}
Expand All @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
python-version: ['3.11']
python-version: ["3.11"]

steps:
- name: Checkout code
Expand Down Expand Up @@ -43,10 +43,10 @@ jobs:
- name: Build
run: |
if [ "${{ runner.os }}" == "Windows" ]; then
poetry run pyinstaller -F main.py -n ToolDelta.exe -i logo.ico
if [ "${{ runner.os }}" == 'Windows' ]; then
poetry run pyinstaller -F main.py -n ToolDelta.exe -i logo.png
else
poetry run pyinstaller -F main.py -n ToolDelta -i logo.ico
poetry run pyinstaller -F main.py -n ToolDelta -i logo.png
fi
- name: Get version
Expand Down

0 comments on commit d741754

Please sign in to comment.