mirror of
https://github.com/CodeSeeed/sbackup.git
synced 2026-10-02 18:32:58 +08:00
fix: 修复发布问题
This commit is contained in:
1 parent
987c8d9f15
commit
ffcfeca174
1 file changed
+8
-5
@@ -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
|
||||
Reference in new issue
Block a user