From ffae7e5090728ca49a22c6a6102c2838f27d36d4 Mon Sep 17 00:00:00 2001 From: rankun Date: Sat, 22 Feb 2020 17:22:52 +0800 Subject: [PATCH] 1 --- .github/workflows/macos.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index eef3325..7fa033c 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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'