Skip to content

Prepare for release #33

Prepare for release

Prepare for release #33

name: Create release branch
on:
push:
tags:
- 'v*.0.0'
jobs:
create-release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Save tag version
uses: little-core-labs/[email protected]
id: tagName
- name: Setup .NET Core
uses: actions/[email protected]
with:
dotnet-version: '8.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Create release branch
uses: peterjgrainger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: release-${{ steps.tagName.outputs.tag }}