Skip to content

Fix Asp.Net Core folder search (#137) #29

Fix Asp.Net Core folder search (#137)

Fix Asp.Net Core folder search (#137) #29

Workflow file for this run

# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [NugetPushGitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_release --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------
name: release
on:
push:
tags:
- 'v*.*.*'
permissions:
id-token: write
pages: write
jobs:
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
environment: github-pages
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .Net 8.0.403
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.403
- name: Setup .Net 9.0.100-rc.2.24474.11
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.100-rc.2.24474.11
- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v4
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('global.json', 'src/**/*.csproj') }}
- name: 'Run: CiCd_Release'
run: ./build.cmd CiCd_Release
env:
NuGetApiKey: ${{ secrets.NUGET_API_KEY }}
SonarToken: ${{ secrets.SONAR_TOKEN }}
- name: Upload generated docs as github-pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/_site
- name: Deploy generated docs github-pages artifact
uses: actions/deploy-pages@v4