chore(ci): Fix tauri upload asset (#4255)

Fixes tauri release builds in CI
This commit is contained in:
Jamil
2024-03-21 16:47:01 -07:00
committed by GitHub
parent e3b150cfdb
commit 251a324c9f

View File

@@ -100,12 +100,12 @@ jobs:
path: |
${{ matrix.pkg-artifact }}
if-no-files-found: error
# Only for builds on main
- name: Upload Release Assets
if: ${{ inputs.release_tag || env.VERSION }}
# Only upload the windows build to the drafted release on main builds
if: ${{ github.ref_name == 'main' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{ github.repository }}
TAG_NAME: ${{ inputs.release_tag || env.VERSION }}
TAG_NAME: ${{ env.VERSION }}
shell: bash
run: ${{ matrix.upload-script }}