Skip to content

tag-version

tag-version #15

Workflow file for this run

# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [DotNetGitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_tag-version --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------
name: tag-version
on:
workflow_dispatch:
inputs:
version:
description: "version"
required: true
jobs:
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.TAG_VERSION_TOKEN }}
- name: Setup .Net 8.0.404
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.403
- name: Setup .Net 9.0.100
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.100
- 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_TagVersion'
run: ./build.cmd CiCd_TagVersion
env:
version: ${{ github.event.inputs.version }}
SonarToken: ${{ secrets.SONAR_TOKEN }}