Fix transient dependencies #148
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_BuildAndPack --host GitHubActions | |
# | |
# </auto-generated> | |
# ------------------------------------------------------------------------------ | |
name: BuildAndPack | |
on: | |
push: | |
branches: | |
- master | |
- main | |
tags: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
ubuntu-latest: | |
name: ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: | | |
2.1.x | |
3.0.x | |
3.1.x | |
6.0.x | |
8.0.401 | |
- name: Cache .nuke/temp, ~/.nuget/packages | |
uses: actions/cache@v2 | |
with: | |
path: | | |
.nuke/temp | |
~/.nuget/packages | |
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }} | |
- name: Run './build.cmd Test Pack PushToNuGet' | |
run: ./build.cmd Test Pack PushToNuGet | |
env: | |
GithubToken: ${{ secrets.GITHUB_TOKEN }} | |
NuGetToken: ${{ secrets.NUGET_TOKEN }} | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: artifacts-linux | |
path: artifacts | |
windows-latest: | |
name: windows-latest | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: | | |
2.1.x | |
3.0.x | |
3.1.x | |
6.0.x | |
8.0.401 | |
- name: Cache .nuke/temp, ~/.nuget/packages | |
uses: actions/cache@v2 | |
with: | |
path: | | |
.nuke/temp | |
~/.nuget/packages | |
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }} | |
- name: Run './build.cmd Test Pack PushToNuGet' | |
run: ./build.cmd Test Pack PushToNuGet | |
env: | |
GithubToken: ${{ secrets.GITHUB_TOKEN }} | |
NuGetToken: ${{ secrets.NUGET_TOKEN }} | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: artifacts-win | |
path: artifacts | |
macOS-latest: | |
name: macos-13 # latest is arm64, and it breaks a bunch of stuff | |
runs-on: macos-13 # latest is arm64, and it breaks a bunch of stuff | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: | | |
2.1.x | |
3.0.x | |
3.1.x | |
6.0.x | |
8.0.401 | |
- name: Cache .nuke/temp, ~/.nuget/packages | |
uses: actions/cache@v2 | |
with: | |
path: | | |
.nuke/temp | |
~/.nuget/packages | |
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }} | |
- name: Run './build.cmd Test Pack PushToNuGet' | |
run: ./build.cmd Test Pack PushToNuGet | |
env: | |
GithubToken: ${{ secrets.GITHUB_TOKEN }} | |
NuGetToken: ${{ secrets.NUGET_TOKEN }} | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: artifacts-macos | |
path: artifacts |