mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03: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 install --frozen-lockfile --check-files
|
||||||
- run: yarn build
|
- run: yarn build
|
||||||
# - run: yarn build-pro
|
- run: yarn build-pro
|
||||||
|
|
||||||
- name: Move all assets to release folder
|
- name: Move all assets to release folder
|
||||||
run: |
|
run: |
|
||||||
mkdir ./release
|
mkdir ./release
|
||||||
cp `ls ./build/dist/releases/**/**/*.zip | xargs` ./release
|
cp `ls ./build/dist/releases/**/**/*.zip | xargs` ./release
|
||||||
echo "---"
|
|
||||||
ls ./release/*.zip
|
|
||||||
echo "---"
|
|
||||||
ls ./release/*.zip | xargs
|
|
||||||
|
|
||||||
- name: Configure GPG Key
|
- name: Configure GPG Key
|
||||||
run: |
|
run: |
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
echo -e "$GPG_SIGNING_KEY" | gpg --batch --import --no-tty --yes
|
echo -e "$GPG_SIGNING_KEY" | gpg --batch --import --no-tty --yes
|
||||||
gpg --list-secret-keys --keyid-format LONG
|
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:
|
env:
|
||||||
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
|
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
|
||||||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue