Print Info #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: Print Info | |
on: | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
name: Build & Print Info | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
6.0.x | |
7.0.x | |
8.0.x | |
- name: Restore dependencies | |
run: | | |
dotnet restore dekoeky.hello-world | |
- name: Build | |
run: | | |
dotnet build dekoeky.hello-world --no-restore | |
- name: Print Info | |
run: | | |
Get-ChildItem -Filter dekoeky*.dll -Recurse | Select-Object -ExpandProperty VersionInfo | |