mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
CI
This commit is contained in:
parent
8829ce75db
commit
bb328898fe
2 changed files with 4 additions and 58 deletions
14
.github/workflows/builder.yml
vendored
14
.github/workflows/builder.yml
vendored
|
|
@ -41,14 +41,8 @@ jobs:
|
|||
echo "$GPG_SIGNING_KEY" > ~/.gnupg/private.key
|
||||
find ~/.gnupg -type f -exec chmod 600 {} \;
|
||||
find ~/.gnupg -type d -exec chmod 700 {} \;
|
||||
echo "---"
|
||||
gpg -v --batch --import ~/.gnupg/private.key
|
||||
echo "---"
|
||||
gpg --list-secret-keys --keyid-format LONG
|
||||
echo "---"
|
||||
ls ./release/*.zip
|
||||
echo "---"
|
||||
for ff in `ls ./release/*.zip`; do gpg --detach-sign --armor --openpgp --yes -u 87DA4591 --passphrase="$GPG_PASSPHRASE" $ff; done
|
||||
gpg --batch --import ~/.gnupg/private.key
|
||||
for ff in `ls ./release/*.zip`; do gpg --detach-sign --batch --pinentry-mode loopback --armor --openpgp --yes -u 87DA4591 --passphrase="$GPG_PASSPHRASE" $ff; done
|
||||
env:
|
||||
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
|
||||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
||||
|
|
@ -62,8 +56,8 @@ jobs:
|
|||
tag_name: ${{ github.ref }}
|
||||
release_name: ${{ github.ref }}
|
||||
body: Release ${{ github.ref }}
|
||||
draft: true
|
||||
prerelease: true
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
- name: Upload Release Assets
|
||||
uses: shogo82148/actions-upload-release-asset@v1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue