From 964c2710b81da66758982df3e4cf92013bffc76a Mon Sep 17 00:00:00 2001 From: xiaoyifang Date: Mon, 14 Feb 2022 21:56:36 +0800 Subject: [PATCH] github: variable fix --- .github/workflows/windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 366ed484..0ba31c30 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -134,8 +134,8 @@ jobs: uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: release/${env:targetName} - asset_name: ${env:targetName} + file: release/${{ env.targetName }} + asset_name: ${{ env.targetName }} tag: v${{ steps.autotag.outputs.version }}-${{ steps.vars.outputs.sha_short }} overwrite: true release_name: win-ubuntu-macos-${{ github.ref_name }}-${{steps.vars.outputs.release_date}}