|
|
|
@ -45,10 +45,10 @@ jobs: |
|
|
|
|
|
|
|
steps: |
|
|
|
- name: Checkout code |
|
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 |
|
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
|
|
|
|
|
|
|
- name: Setup .NET SDK |
|
|
|
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 |
|
|
|
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0 |
|
|
|
id: setup-dotnet |
|
|
|
|
|
|
|
# Arcade only allows the revision to contain up to two characters, and GitHub Actions does not roll-over |
|
|
|
@ -78,7 +78,7 @@ jobs: |
|
|
|
run: ./eng/common/build.sh -configuration Release -ci -prepareMachine -restore -build -test -sign -pack -integrationTest /p:RestoreDotNetWorkloads=true |
|
|
|
|
|
|
|
- name: Attest artifacts |
|
|
|
uses: actions/attest-build-provenance@bdd51370e0416ac948727f861e03c2f05d32d78e # v1.3.2 |
|
|
|
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 |
|
|
|
if: | |
|
|
|
runner.os == 'Windows' && |
|
|
|
github.event.repository.fork == false && |
|
|
|
@ -90,20 +90,20 @@ jobs: |
|
|
|
|
|
|
|
- name: Publish logs |
|
|
|
if: ${{ always() }} |
|
|
|
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 |
|
|
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 |
|
|
|
with: |
|
|
|
name: logs-${{ matrix.os_name }} |
|
|
|
path: ./artifacts/log/Release |
|
|
|
|
|
|
|
- name: Publish NuGet packages |
|
|
|
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 |
|
|
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 |
|
|
|
with: |
|
|
|
name: packages-${{ matrix.os_name }} |
|
|
|
path: ./artifacts/packages/Release/Shipping |
|
|
|
|
|
|
|
- name: Publish test results |
|
|
|
if: ${{ always() }} |
|
|
|
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 |
|
|
|
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 |
|
|
|
with: |
|
|
|
name: testresults-${{ matrix.os_name }} |
|
|
|
path: ./artifacts/TestResults/Release |
|
|
|
@ -113,12 +113,12 @@ jobs: |
|
|
|
runs-on: ubuntu-24.04 |
|
|
|
steps: |
|
|
|
- name: Download packages |
|
|
|
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 |
|
|
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 |
|
|
|
with: |
|
|
|
name: packages-windows |
|
|
|
|
|
|
|
- name: Setup .NET |
|
|
|
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 |
|
|
|
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0 |
|
|
|
with: |
|
|
|
dotnet-version: ${{ needs.build.outputs.dotnet-sdk-version }} |
|
|
|
|
|
|
|
@ -149,12 +149,12 @@ jobs: |
|
|
|
startsWith(github.ref, 'refs/tags/')) |
|
|
|
steps: |
|
|
|
- name: Download packages |
|
|
|
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 |
|
|
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 |
|
|
|
with: |
|
|
|
name: packages-windows |
|
|
|
|
|
|
|
- name: Setup .NET |
|
|
|
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 |
|
|
|
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0 |
|
|
|
with: |
|
|
|
dotnet-version: ${{ needs.build.outputs.dotnet-sdk-version }} |
|
|
|
|
|
|
|
@ -171,12 +171,12 @@ jobs: |
|
|
|
startsWith(github.ref, 'refs/tags/') |
|
|
|
steps: |
|
|
|
- name: Download packages |
|
|
|
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 |
|
|
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 |
|
|
|
with: |
|
|
|
name: packages-windows |
|
|
|
|
|
|
|
- name: Setup .NET |
|
|
|
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 |
|
|
|
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0 |
|
|
|
with: |
|
|
|
dotnet-version: ${{ needs.build.outputs.dotnet-sdk-version }} |
|
|
|
|
|
|
|
|