This commit is contained in:
rankun 2020-02-22 17:22:52 +08:00
parent 9494ae267d
commit ffae7e5090

View file

@ -51,6 +51,8 @@ jobs:
# tag 打包
- name: Package
if: startsWith(github.event.ref, 'refs/tags/')
env:
ref: ${{ github.event.ref }}
run: |
[string]$tag = ${env:ref}.Substring(${env:ref}.LastIndexOf('/') + 1)
[string]$name = 'QtScrcpy-mac-x64-' + ${tag} + '.zip'