Skip to content

Commit cb2f5ff

Browse files
authored
Fix condition for upload to release step
1 parent 634d2b2 commit cb2f5ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ jobs:
383383
release:
384384
name: Upload to Release
385385
needs: [prepare, build-android, build-ios, build-windows, build-linux, build-flatpak]
386-
if: ${{ (github.event_name == 'release') || (inputs.upload_to_release == true) }}
386+
if: ${{ github.event_name == 'release' || github.event.inputs.upload_to_release == 'true' }}
387387
runs-on: ubuntu-latest
388388
permissions:
389389
contents: write

0 commit comments

Comments
 (0)