Skip to content

periodic-release

periodic-release #93

# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [GitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_weekly-release --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------
name: periodic-release
on:
schedule:
- cron: "0 13 * * *" # 10 am BRT
workflow_dispatch:
jobs:
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
dotnet-version: "9.0.x"
- 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: Test, GitHubCreateReleaseAndPublish"
run: ./build.cmd Restore Test GitHubCreateReleaseAndPublish
env:
GitHubToken: ${{ secrets.GITHUB_TOKEN }}
NugetApiKey: ${{ secrets.NUGET_API_KEY }}
- name: "Publish: coverage.xml"
uses: actions/upload-artifact@v4
with:
name: coverage.xml
path: coverage/coverage.xml
- name: "Publish: packages"
uses: actions/upload-artifact@v4
with:
name: packages
path: packages
permissions:
contents: write