Skip to content

Commit

Permalink
perf: 优化构建相关命令
Browse files Browse the repository at this point in the history
  • Loading branch information
msojocs committed May 3, 2024
1 parent 60e77b0 commit d5b5e5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}

Expand Down
2 changes: 1 addition & 1 deletion tools/build-deepin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5b5e5a

Please sign in to comment.