mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 17:13:38 +08:00
CI
This commit is contained in:
parent
e6901bca4a
commit
71748040be
1 changed files with 4 additions and 6 deletions
10
.github/workflows/builder.yml
vendored
10
.github/workflows/builder.yml
vendored
|
@ -26,23 +26,21 @@ jobs:
|
|||
|
||||
- run: yarn install --frozen-lockfile --check-files
|
||||
- run: yarn build
|
||||
# - run: yarn build-pro
|
||||
- run: yarn build-pro
|
||||
|
||||
- name: Move all assets to release folder
|
||||
run: |
|
||||
mkdir ./release
|
||||
cp `ls ./build/dist/releases/**/**/*.zip | xargs` ./release
|
||||
echo "---"
|
||||
ls ./release/*.zip
|
||||
echo "---"
|
||||
ls ./release/*.zip | xargs
|
||||
|
||||
- name: Configure GPG Key
|
||||
run: |
|
||||
export GPG_TTY=$(tty)
|
||||
echo -e "$GPG_SIGNING_KEY" | gpg --batch --import --no-tty --yes
|
||||
gpg --list-secret-keys --keyid-format LONG
|
||||
for ff in `ls ./release/*.zip | xargs`; do gpg --detach-sign --armor --openpgp --yes -u 87DA4591 --passphrase="$GPG_PASSPHRASE" $ff; done
|
||||
ls ./release/*.zip
|
||||
echo "---"
|
||||
for ff in `ls ./release/*.zip`; do gpg --detach-sign --armor --openpgp --yes -u 87DA4591 --passphrase="$GPG_PASSPHRASE" $ff; done
|
||||
env:
|
||||
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
|
||||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
||||
|
|
Loading…
Reference in a new issue