diff --git a/.github/workflows/_tauri.yml b/.github/workflows/_tauri.yml index f5361c251..61790b181 100644 --- a/.github/workflows/_tauri.yml +++ b/.github/workflows/_tauri.yml @@ -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 }}