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