Skip to content

Merge pull request #30 from ronaldvanmanen/feature/publish-with-nuke #5

Merge pull request #30 from ronaldvanmanen/feature/publish-with-nuke

Merge pull request #30 from ronaldvanmanen/feature/publish-with-nuke #5

Workflow file for this run

# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [GitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_test-windows --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------
name: test-windows
on:
push:
branches:
- main
- 'releases/**'
- develop
tags:
- 'v*'
pull_request:
branches:
- main
jobs:
windows-latest:
name: windows-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
- name: 'Run: Test'
run: ./build.cmd Test
env:
AZURE_DEVOPS_PAT: ${{ secrets.AZURE_DEVOPS_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Publish: log'
uses: actions/upload-artifact@v3
with:
name: log
path: artifacts/log
- name: 'Publish: bin'
uses: actions/upload-artifact@v3
with:
name: bin
path: artifacts/bin
- name: 'Publish: obj'
uses: actions/upload-artifact@v3
with:
name: obj
path: artifacts/obj
- name: 'Publish: tst'
uses: actions/upload-artifact@v3
with:
name: tst
path: artifacts/tst