github: variable fix

This commit is contained in:
xiaoyifang 2022-02-14 21:56:36 +08:00
parent 1930c71210
commit 964c2710b8

View file

@ -134,8 +134,8 @@ jobs:
uses: svenstaro/upload-release-action@v2 uses: svenstaro/upload-release-action@v2
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
file: release/${env:targetName} file: release/${{ env.targetName }}
asset_name: ${env:targetName} asset_name: ${{ env.targetName }}
tag: v${{ steps.autotag.outputs.version }}-${{ steps.vars.outputs.sha_short }} tag: v${{ steps.autotag.outputs.version }}-${{ steps.vars.outputs.sha_short }}
overwrite: true overwrite: true
release_name: win-ubuntu-macos-${{ github.ref_name }}-${{steps.vars.outputs.release_date}} release_name: win-ubuntu-macos-${{ github.ref_name }}-${{steps.vars.outputs.release_date}}