Skip to content

Commit bd88185

Browse files
authored
Merge pull request #70 from sourceplusplus/skip-snapshots
skip snapshot on master
2 parents 0d6fe63 + 5a7fa42 commit bd88185

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
run: gradle assemble nativeImage -Dbuild.profile=release -PcliVersion=$SPP_RELEASE_VERSION
4545

4646
- name: Build native spp-cli (Snapshot)
47+
if: github.ref != 'refs/heads/master'
4748
run: gradle assemble nativeImage -Dbuild.profile=release
4849

4950
- name: "[CLI] Get version"
@@ -95,6 +96,7 @@ jobs:
9596
shell: powershell
9697

9798
- name: Build native spp-cli.exe (Snapshot)
99+
if: github.ref != 'refs/heads/master'
98100
run: ./gradlew assemble nativeImage '-Dbuild.profile=release'
99101
shell: powershell
100102

@@ -150,6 +152,7 @@ jobs:
150152
run: ./gradlew assembleUp nativeImage -Dbuild.profile=release -PcliVersion=$SPP_RELEASE_VERSION
151153

152154
- name: Build native spp-cli (Snapshot)
155+
if: github.ref != 'refs/heads/master'
153156
run: ./gradlew assembleUp nativeImage -Dbuild.profile=release
154157

155158
- name: Docker IPs

0 commit comments

Comments
 (0)