diff --git a/.github/actions/print-config-summary/action.yml b/.github/actions/print-config-summary/action.yml new file mode 100644 index 000000000..0f2dfd724 --- /dev/null +++ b/.github/actions/print-config-summary/action.yml @@ -0,0 +1,17 @@ +name: Print summary of important configuration +description: Contains .NET, Node.js, and pnpm versions, among others + +runs: + using: "composite" + steps: + - name: Write configuration to summary + shell: pwsh + run: | + $toolVersions = @" + | Tool | Version | + | :--- | ------: | + | dotnet | $(dotnet --version) | + | node | $(node -v) | + | pnpm | $(pnpm -v) | + "@ + $toolVersions >> $env:GITHUB_STEP_SUMMARY diff --git a/.github/workflows/build-and-test-orchard-core.yml b/.github/workflows/build-and-test-orchard-core.yml index 65be1760b..308fede5a 100644 --- a/.github/workflows/build-and-test-orchard-core.yml +++ b/.github/workflows/build-and-test-orchard-core.yml @@ -195,7 +195,7 @@ jobs: with: directory: ${{ inputs.build-directory }} - - name: Enable Node corepack + - name: Enable Node.js corepack uses: Lombiq/GitHub-Actions/.github/actions/enable-corepack@dev - name: Build and Static Code Analysis @@ -213,6 +213,10 @@ jobs: binary-log-artifact-retention-days: ${{ inputs.build-binary-log-artifact-retention-days }} warnings-as-errors: ${{ inputs.warnings-as-errors }} + - name: Print configuration summary + if: success() || failure() + uses: Lombiq/GitHub-Actions/.github/actions/print-config-summary@dev + - name: Set up SQL Server if: inputs.set-up-sql-server == 'true' uses: Lombiq/GitHub-Actions/.github/actions/setup-sql-server@dev