-
Notifications
You must be signed in to change notification settings - Fork 44
37 lines (35 loc) · 985 Bytes
/
samples.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: samples
on:
push:
branches:
- master
paths:
- 'samples/**'
jobs:
windows-latest:
name: Build & Test
strategy:
fail-fast: false
matrix:
sample: [
'CefToolWindow',
'CodeInspections',
'CodeVision',
'ContextActions',
'InlayHints',
'PostfixTemplates'
]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
samples/${{ matrix.sample }}/build/gradle-jvm
samples/${{ matrix.sample }}/packages
~/.nuget/packages
~/.gradle/caches
~/.gradle/wrapper
key: ${{ matrix.sample }}-${{ hashFiles('**/gradlew.bat', '**/*.csproj', '**/*.props', '**/gradle-wrapper.properties', '**/gradle.properties') }}
- run: ./gradlew.bat :buildPlugin :testDotNet --no-daemon
working-directory: samples/${{ matrix.sample }}