File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ permissions:
3737
3838env :
3939 releaseBuild : ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/') }}
40+ runSandboxBuild : false
4041
4142jobs :
4243 build :
7374 id : gradle-build
7475 run : |
7576 ./gradlew publishToMavenLocal
76- ./gradlew -p sandbox :build
77+
78+ - name : 🧪 Sandbox Build
79+ if : env.runSandboxBuild == 'true'
80+ run : ./gradlew -p sandbox :build
7781
7882 - name : 📦 Upload Plugin artifact
7983 if : steps.gradle-build.outcome == 'success'
9599 if-no-files-found : error
96100
97101 release :
98- name : 🚰 Release new version.
102+ name : 🚰 Release new version
99103 needs : [ build ]
100104 if : startsWith(github.ref, 'refs/tags/') && needs.build.result == 'success' && github.repository == 'sureshg/build-commons'
101105 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments