fix: 修复发布问题

This commit is contained in:
xiatianxuan committed 2026-05-01 21:38:51 +08:00
1 parent 987c8d9f15
commit ffcfeca174
1 file changed
+8 -5
+8 -5
View File
@@ -2,8 +2,8 @@ name: Release
on:
push:
branches:
- main
tags:
- 'v*'
permissions:
contents: write
@@ -43,6 +43,7 @@ jobs:
run: |
python -m nuitka `
--onefile `
--assume-yes-for-downloads `
--output-filename=sbackup.exe `
--include-package=sbackup `
--include-data-dir=sbackup/locales=sbackup/locales `
@@ -72,7 +73,8 @@ jobs:
- name: Build executable
run: |
python -m nuitka \
--standalone --onefile \
--onefile \
--assume-yes-for-downloads \
--output-filename=sbackup-macos \
--include-package=sbackup \
--include-data-dir=sbackup/locales=sbackup/locales \
@@ -102,7 +104,8 @@ jobs:
- name: Build executable
run: |
python -m nuitka \
--standalone --onefile \
--onefile \
--assume-yes-for-downloads \
--output-filename=sbackup-linux \
--include-package=sbackup \
--include-data-dir=sbackup/locales=sbackup/locales \
@@ -114,4 +117,4 @@ jobs:
- name: Upload to Release
uses: softprops/action-gh-release@v1
with:
files: sbackup-linux
files: sbackup-linux