Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Rearrange tasks and console output #22

Rearrange tasks and console output

Rearrange tasks and console output #22

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: Build
on:
push:
paths-ignore:
- "README.md"
- "LICENSE"
- ".vscode/**"
- ".github/dependabot.yml"
pull_request:
paths-ignore:
- "README.md"
- "LICENSE"
- ".vscode/**"
- ".github/dependabot.yml"
workflow_dispatch:
permissions:
packages: read
jobs:
build:
name: Build project
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
projectPath: [
"./src/Configurator/"
]
env:
DOTNET_NOLOGO: true
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Install .NET tools
run: dotnet tool restore
- name: Update project files with gitversion
run: dotnet tool run dotnet-gitversion /updateprojectfiles
- name: Setup GitHub Packages source
run: dotnet nuget add source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --name github --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text
- name: Build project
shell: pwsh
run: dotnet restore "${{ matrix.projectPath }}" ; dotnet build "${{ matrix.projectPath }}"