File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: Build GDExtension
22on :
33 workflow_call :
44 push :
5+ branches :
6+ - master
57 tags :
68 - v[0-9]+.[0-9]+.[0-9]+**
79
6870 with :
6971 path : ${{ github.workspace }}/.scons-cache/
7072 key : ${{ matrix.target.platform }}_${{ matrix.target.arch }}_${{ matrix.float-precision }}_${{ matrix.target-type }}_cache
73+
7174 - name : Build GDExtension Debug Build
7275 shell : sh
7376 env :
@@ -100,6 +103,7 @@ jobs:
100103
101104 # Upload the build
102105 - name : Upload Artifact
106+ if : ${{github.ref != 'refs/heads/master'}}
103107 uses : actions/upload-artifact@v4
104108 with :
105109 name : gdhtml-${{ matrix.target.platform }}-${{ matrix.target.arch }}-${{ matrix.float-precision }}-${{ matrix.target-type }}
@@ -108,6 +112,7 @@ jobs:
108112
109113 # Merges all the build artifacts together into a single gdhtml artifact.
110114 merge :
115+ if : ${{github.ref != 'refs/heads/master'}}
111116 runs-on : ubuntu-22.04
112117 needs : build
113118 steps :
@@ -119,6 +124,7 @@ jobs:
119124 delete-merged : true
120125
121126 release :
127+ if : ${{github.ref != 'refs/heads/master'}}
122128 permissions : write-all
123129 runs-on : ubuntu-22.04
124130 needs : merge
You can’t perform that action at this time.
0 commit comments