We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc5564 commit 2b37847Copy full SHA for 2b37847
.github/workflows/ci.yml
@@ -1,7 +1,10 @@
1
name: CI
2
3
-# Keep this as a callable workflow to minimize disruption; callers can trigger it.
+# Run on PRs to show artifacts, and keep callable for reuse.
4
on:
5
+ pull_request:
6
+ push:
7
+ branches: [ tauri ]
8
workflow_call:
9
inputs:
10
run_docker_build:
@@ -48,7 +51,8 @@ jobs:
48
51
name: Docker build (optional)
49
52
runs-on: ubuntu-latest
50
53
needs: node-ci
- if: ${{ inputs.run_docker_build == true }}
54
+ # Only run when called as a reusable workflow AND the caller enabled it
55
+ if: ${{ github.event_name == 'workflow_call' && inputs.run_docker_build == true }}
56
steps:
57
- name: Checkout
58
uses: actions/checkout@v5
0 commit comments