Merge branch 'master' into CP_UpdatePackages #237
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
# ------------------------------------------------------------------------------ | |
# <auto-generated> | |
# | |
# This code was generated. | |
# | |
# - To turn off auto-generation set: | |
# | |
# [GitHubActions (AutoGenerate = false)] | |
# | |
# - To trigger manual generation invoke: | |
# | |
# nuke --generate-configuration GitHubActions_BuildOnly --host GitHubActions | |
# | |
# </auto-generated> | |
# ------------------------------------------------------------------------------ | |
name: BuildOnly | |
on: | |
push: | |
branches-ignore: | |
- master | |
jobs: | |
windows-latest: | |
name: windows-latest | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: 'Setup Java JDK 11' | |
uses: actions/setup-java@v4.2.1 | |
with: | |
distribution: 'microsoft' | |
java-version: '11' | |
- name: 'Install DotNet workloads' | |
shell: bash | |
run: | | |
dotnet workload install android ios tvos macos maui maccatalyst wasm-tools | |
- name: NBGV | |
id: nbgv | |
uses: dotnet/nbgv@master | |
with: | |
setAllVars: true | |
- run: echo 'SemVer2=${{ steps.nbgv.outputs.SemVer2 }}' | |
- name: 'Cache: .nuke/temp, ~/.nuget/packages' | |
uses: actions/cache@v4 | |
with: | |
path: | | |
.nuke/temp | |
~/.nuget/packages | |
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} | |
- name: 'Run: Compile and Pack' | |
run: ./build.cmd Pack |