Update CI

This commit is contained in:
RainLoop Team 2021-01-16 19:26:17 +03:00
parent 18497e0a3a
commit cc6648bd9c
3 changed files with 16 additions and 12 deletions

View file

@ -28,13 +28,17 @@ jobs:
- run: yarn build
- run: yarn build-pro
# - name: Configure GPG Key
# run: |
# gpg --no-tty --batch --yes --import <(echo "$GPG_SIGNING_KEY")
# for ff in `ls ./build/dist/releases/**/**/*.zip | xargs`; do gpg --detach-sign --no-tty --yes --armor --openpgp -u 87DA4591 --passphrase $GPG_PASSPHRASE $ff; done
# env:
# GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
# 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 ./build/dist/releases/**/**/*.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: Move all assets to release folder
run: |
mkdir ./release
cp `ls ./build/dist/releases/**/**/*.zip | xargs` ./release
- name: Create Release
id: create_release
@ -51,4 +55,4 @@ jobs:
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/dist/releases/*
asset_path: ./release/*