Skip to content

Commit d5b5e5a

Browse files
committed
perf: 优化构建相关命令
1 parent 60e77b0 commit d5b5e5a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,12 @@ jobs:
186186
echo "::set-output name=tag::$tag"
187187
echo "::set-output name=name::$name"
188188
# https://stackoverflow.com/questions/61096521/how-to-use-gpg-key-in-github-actions
189+
# gpg --generate-key
190+
# gpg --export-secret-keys YOUR_ID_HERE | base64 > private.key
189191
- name: Configure GPG Key
190192
run: |
191193
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
194+
gpg --list-secret-keys jiyecafe@gmail.com
192195
env:
193196
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
194197

tools/build-deepin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ cd "$build_dir"
100100
ls -l "$build_dir"
101101
mkdir -p "$root_dir/tmp/build"
102102

103-
if [[ "$WINE" != 'false' ]];then
103+
if [[ "$WINE" == 'true' ]];then
104104
echo "添加wine依赖 - $WINE"
105105
echo "Depends: wine, wine-binfmt" >> "$build_dir/debian/control"
106106
fi

0 commit comments

Comments
 (0)