File tree Expand file tree Collapse file tree 13 files changed +110
-52
lines changed Expand file tree Collapse file tree 13 files changed +110
-52
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Artifacts attestation'
2
+ description : ' Artifacts attestation'
3
+
4
+ runs :
5
+ using : ' composite'
6
+ steps :
7
+ -
8
+ name : ' Attestation'
9
+ uses : actions/attest-build-provenance@v1
10
+ with :
11
+ subject-path : |
12
+ ${{ github.workspace }}/artifacts/packages/native
13
+ ${{ github.workspace }}/artifacts/packages/nuget
Original file line number Diff line number Diff line change 5
5
using : ' composite'
6
6
steps :
7
7
-
8
- name : Use cached cake frosting
9
- id : cache-cake
10
- uses : actions/cache@v4
8
+ uses : actions/download-artifact@v4
9
+ name : Download native linux packages
11
10
with :
12
- path : run
13
- key : run- ${{ runner.os }}-${{ hashFiles('./build/**') }}
11
+ name : native-Linux
12
+ path : ${{ github.workspace }}/artifacts/packages/native
14
13
-
15
- name : Use cached tools
16
- id : cache-tools
17
- uses : actions/cache@v4
14
+ uses : actions/download-artifact@v4
15
+ name : Download native windows packages
18
16
with :
19
- path : tools
20
- key : tools- ${{ runner.os }}-${{ hashFiles('./build/**') }}
17
+ name : native-Windows
18
+ path : ${{ github.workspace }}/artifacts/packages/native
21
19
-
22
- name : Setup .NET SDK
23
- uses : actions/setup-dotnet@v4
20
+ uses : actions/download-artifact@v4
21
+ name : Download native macos packages
24
22
with :
25
- global-json-file : global.json
23
+ name : native-macOS
24
+ path : ${{ github.workspace }}/artifacts/packages/native
25
+ -
26
+ uses : actions/download-artifact@v4
27
+ name : Download nuget packages
28
+ with :
29
+ name : nuget
30
+ path : ${{ github.workspace }}/artifacts/packages/nuget
Original file line number Diff line number Diff line change
1
+ name : ' Cache restore'
2
+ description : ' Cache restore'
3
+
4
+ runs :
5
+ using : ' composite'
6
+ steps :
7
+ -
8
+ name : Use cached cake frosting
9
+ id : cache-cake
10
+ uses : actions/cache@v4
11
+ with :
12
+ path : run
13
+ key : run-${{ runner.os }}-${{ hashFiles('./build/**') }}
14
+ -
15
+ name : Use cached tools
16
+ id : cache-tools
17
+ uses : actions/cache@v4
18
+ with :
19
+ path : tools
20
+ key : tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
21
+ -
22
+ name : Setup .NET SDK
23
+ uses : actions/setup-dotnet@v4
24
+ with :
25
+ global-json-file : global.json
Original file line number Diff line number Diff line change 37
37
fetch-depth : 0
38
38
-
39
39
name : Restore State
40
- uses : ./.github/actions/artifacts -restore
40
+ uses : ./.github/actions/cache -restore
41
41
-
42
42
uses : actions/download-artifact@v4
43
43
name : Download nuget packages
48
48
uses : actions/download-artifact@v4
49
49
name : Download native packages
50
50
with :
51
- name : native-${{ runner.os }}
51
+ name : native-Linux
52
52
path : ${{ github.workspace }}/artifacts/packages/native
53
53
-
54
54
name : ' [Test Artifacts]'
Original file line number Diff line number Diff line change 22
22
fetch-depth : 0
23
23
-
24
24
name : Restore State
25
- uses : ./.github/actions/artifacts -restore
25
+ uses : ./.github/actions/cache -restore
26
26
-
27
27
uses : actions/download-artifact@v4
28
28
name : Download nuget packages
Original file line number Diff line number Diff line change 22
22
fetch-depth : 0
23
23
-
24
24
name : Restore State
25
- uses : ./.github/actions/artifacts -restore
25
+ uses : ./.github/actions/cache -restore
26
26
-
27
27
name : ' [Build]'
28
28
shell : pwsh
Original file line number Diff line number Diff line change 37
37
fetch-depth : 0
38
38
-
39
39
name : Restore State
40
- uses : ./.github/actions/artifacts -restore
40
+ uses : ./.github/actions/cache -restore
41
41
-
42
42
uses : actions/download-artifact@v4
43
43
name : Download nuget packages
Original file line number Diff line number Diff line change 30
30
fetch-depth : 0
31
31
-
32
32
name : Restore State
33
- uses : ./.github/actions/artifacts -restore
33
+ uses : ./.github/actions/cache -restore
34
34
-
35
35
name : Set up Docker
36
36
uses : crazy-max/ghaction-setup-docker@v3
Original file line number Diff line number Diff line change 26
26
fetch-depth : 0
27
27
-
28
28
name : Restore State
29
- uses : ./.github/actions/artifacts -restore
29
+ uses : ./.github/actions/cache -restore
30
30
-
31
31
uses : actions/download-artifact@v4
32
32
name : Download nuget packages
36
36
-
37
37
name : ' [Publish]'
38
38
shell : pwsh
39
- run : dotnet run/publish.dll --target=Publish${{ matrix.taskName }}
39
+ run : dotnet run/publish.dll --target=Publish${{ matrix.taskName }}
Original file line number Diff line number Diff line change 25
25
fetch-depth : 0
26
26
-
27
27
name : Restore State
28
- uses : ./.github/actions/artifacts -restore
28
+ uses : ./.github/actions/cache -restore
29
29
-
30
30
name : ' [Unit Test]'
31
31
shell : pwsh
You can’t perform that action at this time.
0 commit comments