|
1 | | -name: CI |
| 1 | +name: 🏭 Build |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | push: |
5 | 5 | branches: |
6 | 6 | - main |
7 | 7 | - validate/* |
8 | 8 | pull_request: |
| 9 | + workflow_dispatch: |
9 | 10 |
|
10 | 11 | env: |
11 | 12 | DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true |
|
15 | 16 |
|
16 | 17 | jobs: |
17 | 18 | build: |
| 19 | + name: 🏭 Build |
18 | 20 |
|
19 | 21 | runs-on: ${{ matrix.os }} |
20 | 22 | strategy: |
|
57 | 59 | - name: ⚙ Update pipeline variables based on build outputs |
58 | 60 | run: azure-pipelines/variables/_pipelines.ps1 |
59 | 61 | shell: pwsh |
60 | | - - name: 📥 Collect artifacts |
61 | | - run: azure-pipelines/artifacts/_stage_all.ps1 |
62 | | - shell: pwsh |
63 | | - if: always() |
64 | | - - name: 📢 Upload project.assets.json files |
65 | | - if: always() |
66 | | - uses: actions/upload-artifact@v4 |
67 | | - with: |
68 | | - name: projectAssetsJson-${{ runner.os }} |
69 | | - path: ${{ runner.temp }}/_artifacts/projectAssetsJson |
70 | | - continue-on-error: true |
71 | | - - name: 📢 Upload variables |
72 | | - uses: actions/upload-artifact@v4 |
73 | | - with: |
74 | | - name: variables-${{ runner.os }} |
75 | | - path: ${{ runner.temp }}/_artifacts/Variables |
76 | | - continue-on-error: true |
77 | | - - name: 📢 Upload build_logs |
78 | | - if: always() |
79 | | - uses: actions/upload-artifact@v4 |
80 | | - with: |
81 | | - name: build_logs-${{ runner.os }} |
82 | | - path: ${{ runner.temp }}/_artifacts/build_logs |
83 | | - continue-on-error: true |
84 | | - - name: 📢 Upload test_logs |
85 | | - if: always() |
86 | | - uses: actions/upload-artifact@v4 |
87 | | - with: |
88 | | - name: test_logs-${{ runner.os }} |
89 | | - path: ${{ runner.temp }}/_artifacts/test_logs |
90 | | - continue-on-error: true |
91 | | - - name: 📢 Upload testResults |
92 | | - if: always() |
93 | | - uses: actions/upload-artifact@v4 |
94 | | - with: |
95 | | - name: testResults-${{ runner.os }} |
96 | | - path: ${{ runner.temp }}/_artifacts/testResults |
97 | | - continue-on-error: true |
98 | | - - name: 📢 Upload coverageResults |
99 | | - if: always() |
100 | | - uses: actions/upload-artifact@v4 |
101 | | - with: |
102 | | - name: coverageResults-${{ runner.os }} |
103 | | - path: ${{ runner.temp }}/_artifacts/coverageResults |
104 | | - continue-on-error: true |
105 | | - - name: 📢 Upload symbols |
106 | | - uses: actions/upload-artifact@v4 |
107 | | - with: |
108 | | - name: symbols-${{ runner.os }} |
109 | | - path: ${{ runner.temp }}/_artifacts/symbols |
110 | | - continue-on-error: true |
111 | | - - name: 📢 Upload deployables |
112 | | - uses: actions/upload-artifact@v4 |
113 | | - with: |
114 | | - name: deployables-${{ runner.os }} |
115 | | - path: ${{ runner.temp }}/_artifacts/deployables |
116 | | - if: always() |
| 62 | + - name: 📢 Publish artifacts |
| 63 | + uses: ./.github/actions/publish-artifacts |
117 | 64 | - name: 📢 Publish code coverage results to codecov.io |
118 | 65 | run: ./azure-pipelines/publish-CodeCov.ps1 -CodeCovToken "${{ env.codecov_token }}" -PathToCodeCoverage "${{ runner.temp }}/_artifacts/coverageResults" -Name "${{ runner.os }} Coverage Results" -Flags "${{ runner.os }}" |
119 | 66 | shell: pwsh |
|
0 commit comments