99jobs :
1010 build :
1111 runs-on : ${{ matrix.os }}
12- if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
1312 strategy :
1413 matrix :
15- os : [ windows-2025 ]
14+ os : [ windows-2025, ubuntu-24.04 ]
1615
1716 env :
1817 AZURE_PASSWORD : ${{ secrets.AZURE_PASSWORD }}
1918 AZURE_SOURCE : ${{ secrets.AZURE_SOURCE }}
2019 AZURE_USER : ${{ secrets.AZURE_USER }}
21- CODECOV_TOKEN : ${{secrets.CODECOV_TOKEN }}
2220 GITHUB_PAT : ${{ secrets.GH_TOKEN }}
2321 GITTER_ROOM_ID : ${{ secrets.GITTER_ROOM_ID }}
2422 GPR_PASSWORD : ${{ secrets.GPR_PASSWORD }}
@@ -34,51 +32,60 @@ jobs:
3432 WYAM_ACCESS_TOKEN : ${{ secrets.WYAM_ACCESS_TOKEN }}
3533 WYAM_DEPLOY_BRANCH : " gh-pages"
3634 WYAM_DEPLOY_REMOTE : ${{ github.event.repository.html_url }}
35+ COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
3736 steps :
38- - name : Get the sources
39- uses : actions/checkout@v5.0.0
37+ - name : Checkout the repository
38+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
4039 with :
4140 fetch-depth : 0
4241
43- - name : Cache Tools
44- 45- with :
46- path : tools
47- key : ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
48-
49- - name : Install .NET SDK 5.0.x - 10.0.x
50- 42+ - name : Install dotnet
43+ uses : actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5
5144 with :
5245 dotnet-version : |
53- 5.0.x
5446 6.0.x
5547 7.0.x
5648 8.0.x
5749 9.0.x
5850 10.0.x
5951
60- - name : Install .NET Core SDK (global.json)
61- 52+ - name : Install mono
53+ if : runner.os == 'Linux'
54+ # check https://www.mono-project.com/download/stable/#download-lin
55+ run : |
56+ sudo apt install ca-certificates gnupg
57+ sudo gpg --homedir /tmp --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
58+ sudo chmod +r /usr/share/keyrings/mono-official-archive-keyring.gpg
59+ echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
60+ sudo apt update
61+ sudo apt install -y mono-complete
62+ mono --version
63+
64+ - name : Cache Tools
65+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
66+ with :
67+ path : tools
68+ key : ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
6269
6370 - name : Build project
64- uses : cake-build/cake-action@v3.0.1
71+ uses : cake-build/cake-action@d218f1133bb74a1df0b08c89cfd8fc100c09e1a0 # v3
6572 with :
6673 script-path : recipe.cake
6774 target : CI
6875 verbosity : Normal
69- cake-version : 1.3.0
70- cake-bootstrap : true
76+ cake-version : tool-manifest
7177
7278 - name : Upload Issues-Report
73- uses : actions/upload-artifact@v4.6.2
79+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
7480 with :
7581 if-no-files-found : warn
76- name : issues- ${{ matrix.os }}
82+ name : ${{ matrix.os }} issues
7783 path : BuildArtifacts/report.html
7884
7985 - name : Upload Packages
80- 86+ if : runner.os == 'Windows'
87+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
8188 with :
8289 if-no-files-found : warn
83- name : package-${{ matrix.os }}
84- path : BuildArtifacts/Packages/**/*
90+ name : package
91+ path : BuildArtifacts/Packages/**/*
0 commit comments