Skip to content

Commit b7a61bd

Browse files
committed
Build: Separate plugin and sampleapp build steps
1 parent 36320a2 commit b7a61bd

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,15 @@ jobs:
3131
- name: Grant execute permission for gradlew
3232
run: chmod +x gradlew
3333

34-
- name: Run build with caching enabled
34+
- name: Run plugin build with caching enabled
3535
uses: gradle/[email protected]
3636
with:
37-
arguments: clean build -s
37+
arguments: :secretsvaultplugin:clean :secretsvaultplugin:build -s
3838

39-
- name: Run Detekt
39+
- name: Run Detekt for plugin
4040
run: ./gradlew :secretsvaultplugin:detektMain
41+
42+
- name: Run sampleapp build with caching enabled
43+
uses: gradle/[email protected]
44+
with:
45+
arguments: :sampleapp:clean :sampleapp:build -s

0 commit comments

Comments
 (0)