File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 9
9
secrets :
10
10
GH_REPO_TOKEN :
11
11
required : true
12
+
12
13
jobs :
13
14
check-branch :
14
15
runs-on : ubuntu-latest
@@ -20,10 +21,10 @@ jobs:
20
21
if [[ $GITHUB_REF == *"offline-mode"* ]]; then
21
22
echo "should_run=true" >> $GITHUB_OUTPUT
22
23
else
23
- echo "should_run=true " >> $GITHUB_OUTPUT
24
+ echo "should_run=false " >> $GITHUB_OUTPUT
24
25
fi
25
26
shell : bash
26
-
27
+
27
28
call-workflow-build :
28
29
needs : check-branch
29
30
if : needs.check-branch.outputs.should_run == 'true'
33
34
34
35
call-workflow-release :
35
36
needs : [check-branch, call-workflow-build]
36
- if : needs.check-branch.outputs.should_run == 'true'
37
+ if : needs.check-branch.outputs.should_run == 'true' && github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')
37
38
uses : adafruit/Adafruit_Wippersnapper_Arduino/.github/workflows/release-callee.yml@main
You can’t perform that action at this time.
0 commit comments