perf: 优化构建相关命令

This commit is contained in:
msojocs 2024-05-03 12:08:54 +08:00
parent 60e77b0df0
commit d5b5e5a977
2 changed files with 4 additions and 1 deletions

View File

@ -186,9 +186,12 @@ jobs:
echo "::set-output name=tag::$tag"
echo "::set-output name=name::$name"
# https://stackoverflow.com/questions/61096521/how-to-use-gpg-key-in-github-actions
# gpg --generate-key
# gpg --export-secret-keys YOUR_ID_HERE | base64 > private.key
- name: Configure GPG Key
run: |
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
gpg --list-secret-keys jiyecafe@gmail.com
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}

View File

@ -100,7 +100,7 @@ cd "$build_dir"
ls -l "$build_dir"
mkdir -p "$root_dir/tmp/build"
if [[ "$WINE" != 'false' ]];then
if [[ "$WINE" == 'true' ]];then
echo "添加wine依赖 - $WINE"
echo "Depends: wine, wine-binfmt" >> "$build_dir/debian/control"
fi