File tree Expand file tree Collapse file tree 13 files changed +115
-51
lines changed Expand file tree Collapse file tree 13 files changed +115
-51
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 55 using : ' composite'
66 steps :
77 -
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
1110 with :
12- path : run
13- key : run- ${{ runner.os }}-${{ hashFiles('./build/**') }}
11+ name : native-Linux
12+ path : ${{ github.workspace }}/artifacts/packages/native
1413 -
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
1816 with :
19- path : tools
20- key : tools- ${{ runner.os }}-${{ hashFiles('./build/**') }}
17+ name : native-Windows
18+ path : ${{ github.workspace }}/artifacts/packages/native
2119 -
22- name : Setup .NET SDK
23- uses : actions/setup-dotnet@v4
20+ uses : actions/download-artifact@v4
21+ name : Download native macos packages
2422 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 3737 fetch-depth : 0
3838 -
3939 name : Restore State
40- uses : ./.github/actions/artifacts -restore
40+ uses : ./.github/actions/cache -restore
4141 -
4242 uses : actions/download-artifact@v4
4343 name : Download nuget packages
4848 uses : actions/download-artifact@v4
4949 name : Download native packages
5050 with :
51- name : native-${{ runner.os }}
51+ name : native-Linux
5252 path : ${{ github.workspace }}/artifacts/packages/native
5353 -
5454 name : ' [Test Artifacts]'
Original file line number Diff line number Diff line change 2222 fetch-depth : 0
2323 -
2424 name : Restore State
25- uses : ./.github/actions/artifacts -restore
25+ uses : ./.github/actions/cache -restore
2626 -
2727 uses : actions/download-artifact@v4
2828 name : Download nuget packages
Original file line number Diff line number Diff line change 2222 fetch-depth : 0
2323 -
2424 name : Restore State
25- uses : ./.github/actions/artifacts -restore
25+ uses : ./.github/actions/cache -restore
2626 -
2727 name : ' [Build]'
2828 shell : pwsh
Original file line number Diff line number Diff line change 3737 fetch-depth : 0
3838 -
3939 name : Restore State
40- uses : ./.github/actions/artifacts -restore
40+ uses : ./.github/actions/cache -restore
4141 -
4242 uses : actions/download-artifact@v4
4343 name : Download nuget packages
Original file line number Diff line number Diff line change 3030 fetch-depth : 0
3131 -
3232 name : Restore State
33- uses : ./.github/actions/artifacts -restore
33+ uses : ./.github/actions/cache -restore
3434 -
3535 name : Set up Docker
3636 uses : crazy-max/ghaction-setup-docker@v3
Original file line number Diff line number Diff line change 2626 fetch-depth : 0
2727 -
2828 name : Restore State
29- uses : ./.github/actions/artifacts -restore
29+ uses : ./.github/actions/cache -restore
3030 -
3131 uses : actions/download-artifact@v4
3232 name : Download nuget packages
3737 name : ' [Publish]'
3838 shell : pwsh
3939 run : dotnet run/publish.dll --target=Publish${{ matrix.taskName }}
40+ -
41+ name : ' Attestation'
42+ # if: ${{ github.event_name == 'repository_dispatch' }}
43+ uses : actions/attest-build-provenance@v1
44+ with :
45+ subject-path : ${{ github.workspace }}/artifacts/packages/nuget
Original file line number Diff line number Diff line change 2525 fetch-depth : 0
2626 -
2727 name : Restore State
28- uses : ./.github/actions/artifacts -restore
28+ uses : ./.github/actions/cache -restore
2929 -
3030 name : ' [Unit Test]'
3131 shell : pwsh
You can’t perform that action at this time.
0 commit comments