Re-enstated test files that were deleted during a merge #219
Workflow file for this run
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
name: CI | |
# This workflow builds and tests the code | |
# Because of failed permissions all steps which are pushing code to github releases or nuget are removed. | |
# For creating draft release launch workflow -Create Draft Release- manually. | |
on: | |
pull_request: | |
branches: | |
- develop | |
- main | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true # Avoid pre-populating the NuGet package cache | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # all | |
- name: Setup .NET 7.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.x | |
- name: Cake Build 🏗️ | |
id: cake-build | |
shell: powershell | |
run: ./build.ps1 | |
env: | |
OCTOVERSION_CurrentBranch: ${{ github.ref }} | |
AssentNonInteractive: true | |
# https://github.com/dorny/test-reporter#recommended-setup-for-public-repositories | |
- name: Upload Test Results | |
uses: actions/upload-artifact@v3 # upload test results | |
if: success() || failure() # run this step even if previous step failed | |
with: | |
name: test-results | |
path: artifacts/TestResults/*.trx | |
# Moved Test report into separate workflow |