-
-
Notifications
You must be signed in to change notification settings - Fork 7
58 lines (49 loc) · 1.61 KB
/
verify.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Verify
on:
workflow_run:
workflows: ["Build"]
branches: ["develop"]
types:
- completed
jobs:
verify:
runs-on: windows-2022
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout the requested branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Fetch all tags and branches
run: git fetch --prune --unshallow
# Setup Java 11 environment which is needed to build
- name: Setup Java
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
with:
distribution: 'zulu'
java-version: '17'
# Setup dotnet 6 (and 2.1 for Wyam, 3.1 for gitReleaseManager, 5.0 for gitVersion)
- name: Setup dotnet
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0
with:
dotnet-version: |
2.1.x
3.1.x
5.0.x
6.0.x
# Cache Cake tools
- name: Cache Tools
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
- name: See the available space
run: |
echo "tmp points to ${{ runner.temp }}"
Get-Volume
- name: Build project
uses: cake-build/cake-action@1223b6fa067ad192159f43b50cd4f953679b0934 # v2.0.0
with:
script-path: recipe.cake
target: Run-Plugin-Verifier
cake-version: tool-manifest
arguments: |
enable-verifier: true