Update flutter-build.yml

This commit is contained in:
RustDesk 2024-03-15 23:36:03 +08:00 committed by GitHub
parent 6b15a9b6d2
commit 7307b84dad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -145,12 +145,16 @@ jobs:
name: topmostwindow-artifacts
path: './flutter/build/windows/x64/runner/Release/'
- name: Sign rustdesk files
if: env.UPLOAD_ARTIFACT == 'true' && env.SIGN_BASE_URL != ''
- name: Compress unsigned
shell: bash
run: |
mv ./flutter/build/windows/x64/runner/Release ./rustdesk
tar czf rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}-unsigned.tar.gz rustdesk
- name: Sign rustdesk files
if: env.UPLOAD_ARTIFACT == 'true' && env.SIGN_BASE_URL != ''
shell: bash
run: |
pip3 install requests argparse
BASE_URL=${{ secrets.SIGN_BASE_URL }} SECRET_KEY=${{ secrets.SIGN_SECRET_KEY }} python3 res/job.py sign_files ./rustdesk/