Update flutter-build.yml
This commit is contained in:
parent
6b15a9b6d2
commit
7307b84dad
8
.github/workflows/flutter-build.yml
vendored
8
.github/workflows/flutter-build.yml
vendored
@ -145,12 +145,16 @@ jobs:
|
|||||||
name: topmostwindow-artifacts
|
name: topmostwindow-artifacts
|
||||||
path: './flutter/build/windows/x64/runner/Release/'
|
path: './flutter/build/windows/x64/runner/Release/'
|
||||||
|
|
||||||
- name: Sign rustdesk files
|
- name: Compress unsigned
|
||||||
if: env.UPLOAD_ARTIFACT == 'true' && env.SIGN_BASE_URL != ''
|
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
mv ./flutter/build/windows/x64/runner/Release ./rustdesk
|
mv ./flutter/build/windows/x64/runner/Release ./rustdesk
|
||||||
tar czf rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}-unsigned.tar.gz 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
|
pip3 install requests argparse
|
||||||
BASE_URL=${{ secrets.SIGN_BASE_URL }} SECRET_KEY=${{ secrets.SIGN_SECRET_KEY }} python3 res/job.py sign_files ./rustdesk/
|
BASE_URL=${{ secrets.SIGN_BASE_URL }} SECRET_KEY=${{ secrets.SIGN_SECRET_KEY }} python3 res/job.py sign_files ./rustdesk/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user