From d5b5e5a9774201520194c9553d56a4a034978c2c Mon Sep 17 00:00:00 2001 From: msojocs Date: Fri, 3 May 2024 12:08:54 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 3 +++ tools/build-deepin.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 98aabd4..fba64d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/tools/build-deepin.sh b/tools/build-deepin.sh index 3465bd9..ec90af5 100755 --- a/tools/build-deepin.sh +++ b/tools/build-deepin.sh @@ -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