Skip to content

Commit 3fdac6a

Browse files
committed
chore: github action changes
1 parent c5d82e1 commit 3fdac6a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ permissions:
3737

3838
env:
3939
releaseBuild: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/') }}
40+
runSandboxBuild: false
4041

4142
jobs:
4243
build:
@@ -73,7 +74,10 @@ jobs:
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'
@@ -95,7 +99,7 @@ jobs:
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

0 commit comments

Comments
 (0)