Avoid caching nobody when actor doesn't exist in registry (#501) #1306
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: | |
# | |
# [CustomGitHubActions (AutoGenerate = false)] | |
# | |
# - To trigger manual generation invoke: | |
# | |
# nuke --generate-configuration GitHubActions_pr_validation --host GitHubActions | |
# | |
# </auto-generated> | |
# ------------------------------------------------------------------------------ | |
name: pr_validation | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
- 'v1.*' | |
pull_request: | |
branches: | |
- master | |
- dev | |
- 'v1.*' | |
jobs: | |
windows-latest: | |
name: windows-latest | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Make build.sh executable | |
run: chmod +x ./build.sh | |
- name: Make build.cmd executable | |
run: chmod +x ./build.cmd | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 5.0.* | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.* | |
- name: Cache .nuke/temp, ~/.nuget/packages | |
uses: actions/cache@v3 | |
with: | |
path: | | |
.nuke/temp | |
~/.nuget/packages | |
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }} | |
- name: Run './build.cmd All' | |
run: ./build.cmd All | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ubuntu-latest: | |
name: ubuntu-latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Make build.sh executable | |
run: chmod +x ./build.sh | |
- name: Make build.cmd executable | |
run: chmod +x ./build.cmd | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 5.0.* | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.* | |
- name: Cache .nuke/temp, ~/.nuget/packages | |
uses: actions/cache@v3 | |
with: | |
path: | | |
.nuke/temp | |
~/.nuget/packages | |
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }} | |
- name: Run './build.cmd All' | |
run: ./build.cmd All | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |