Skip to content

german translation, bump version, changelog #69

german translation, bump version, changelog

german translation, bump version, changelog #69

Workflow file for this run

name: "Build"
on:
push:
branches:
- master
paths-ignore:
- '**/*.md'
- '**/*.gitignore'
- '**/*.gitattributes'
- '**/.github/workflows/release.yml'
pull_request:
branches:
- master
paths-ignore:
- '**/*.md'
- '**/*.gitignore'
- '**/*.gitattributes'
- '**/.github/workflows/release.yml'
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
- name: Cache NuGet packages
uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Restore NuGet packages
run: dotnet restore
- name: Build project
run: dotnet build --configuration Release --no-restore # Build the app in Release mode
- name: Run tests
run: dotnet test --no-restore --verbosity normal # Run tests
- name: Get short SHA
run: echo "SHORT_SHA=$("${{ github.sha }}".SubString(0, 8))" >> $env:GITHUB_ENV
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-${{ env.SHORT_SHA }}
path: ${{ github.workspace }}/${{ github.event.repository.name }}/bin/Release/net6.0-windows/