From 6e30b7065939708d9d96067c63c9024cf980980e Mon Sep 17 00:00:00 2001 From: Aptivi Date: Thu, 10 Oct 2024 12:36:37 +0300 Subject: [PATCH] chg - Restore current state --- Type: chg Breaking: False Doc Required: False Backport Required: False Part: 1/1 --- .github/workflows/build.yml | 4 +--- .github/workflows/release.yml | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e7a297c2..39629ec1d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,9 +23,7 @@ jobs: with: dotnet-version: '8.0.x' - name: Solution Compilation - run: | - powershell 'Get-FileHash -Algorithm sha256 tools/* | % {"- " + $_.Hash + " " + (Resolve-Path -Path $_.Path -Relative)}' - dotnet build -maxCpuCount:1 --configuration Debug + run: dotnet build -maxCpuCount:1 --configuration Debug - name: Testing run: dotnet test --no-build --configuration Debug - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea1c45c02..b87e0d340 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,9 +80,9 @@ jobs: echo "SUBJECT=$(cat CHANGES.TITLE)" >> "$GITHUB_OUTPUT" echo 'BODY<> "$GITHUB_OUTPUT" cat CHANGES >> "$GITHUB_OUTPUT" - powershell 'Get-FileHash -Algorithm sha256 tools/*.zip | % {\"- \" + $_.Hash + \" \" + (Resolve-Path -Path $_.Path -Relative)}' >> "$GITHUB_OUTPUT" - powershell 'Get-FileHash -Algorithm sha256 tools/*-changes.chg | % {\"- \" + $_.Hash + \" \" + (Resolve-Path -Path $_.Path -Relative)}' >> "$GITHUB_OUTPUT" - powershell 'Get-FileHash -Algorithm sha256 *.iso | % {\"- \" + $_.Hash + \" \" + (Resolve-Path -Path $_.Path -Relative)}' >> "$GITHUB_OUTPUT" + powershell 'Get-FileHash -Algorithm sha256 tools/*.zip | % {"- " + $_.Hash + " " + (Resolve-Path -Path $_.Path -Relative)}' >> "$GITHUB_OUTPUT" + powershell 'Get-FileHash -Algorithm sha256 tools/*-changes.chg | % {"- " + $_.Hash + " " + (Resolve-Path -Path $_.Path -Relative)}' >> "$GITHUB_OUTPUT" + powershell 'Get-FileHash -Algorithm sha256 *.iso | % {"- " + $_.Hash + " " + (Resolve-Path -Path $_.Path -Relative)}' >> "$GITHUB_OUTPUT" echo 'EOF' >> "$GITHUB_OUTPUT" - name: Binary Attestation (binaries) uses: actions/attest-build-provenance@v1