Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSOE-593: Add job summary with tool versions #223

Merged
merged 17 commits into from
Apr 14, 2023
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/actions/print-config-summary/action.yml
Original file line number Diff line number Diff line change
@@ -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
6 changes: 5 additions & 1 deletion .github/workflows/build-and-test-orchard-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
dministro marked this conversation as resolved.
Show resolved Hide resolved
if: always()
0liver marked this conversation as resolved.
Show resolved Hide resolved
uses: Lombiq/GitHub-Actions/.github/actions/print-config-summary@issue/OSOE-593
dministro marked this conversation as resolved.
Show resolved Hide resolved

- name: Set up SQL Server
if: inputs.set-up-sql-server == 'true'
uses: Lombiq/GitHub-Actions/.github/actions/setup-sql-server@dev
Expand Down