This commit is contained in:
RainLoop Team 2021-01-16 20:35:44 +03:00
parent a197e257aa
commit e735c1bbb7

View file

@ -31,16 +31,14 @@ jobs:
- name: Move all assets to release folder
run: |
mkdir ./release
echo `ls ./build/dist/releases/**/**/*.zip | xargs`
cp `ls ./build/dist/releases/**/**/*.zip | xargs` ./release
echo `ls ./release/*.zip | xargs`
# - name: Configure GPG Key
# run: |
# cat <(echo -e "${{ secrets.GPG_SIGNING_KEY }}") | gpg --batch --import --no-tty --yes
# for ff in `ls ./release/*.zip | xargs`; do gpg --detach-sign --no-tty --yes --armor --openpgp -u 87DA4591 --passphrase="$GPG_PASSPHRASE" $ff; done
# env:
# GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Configure GPG Key
run: |
cat <(echo -e "${{ secrets.GPG_SIGNING_KEY }}") | gpg --batch --import --no-tty --yes
for ff in `ls ./release/*.zip`; do gpg --detach-sign --no-tty --yes --armor --openpgp -u 87DA4591 --passphrase="$GPG_PASSPHRASE" $ff; done
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Create Release
id: create_release