2023-08-04 01:37:51 +01:00
|
|
|
name: Tagged Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- "v[0-9]+.[0-9]+.[0-9]+"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
name: "Tagged Release"
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-04-26 18:45:10 +01:00
|
|
|
uses: actions/checkout@v4
|
2023-08-04 01:37:51 +01:00
|
|
|
|
|
|
|
- name: Setup .NET
|
2024-04-26 18:45:35 +01:00
|
|
|
uses: actions/setup-dotnet@v4
|
2023-08-04 01:37:51 +01:00
|
|
|
with:
|
2024-02-29 20:43:27 +00:00
|
|
|
dotnet-version: 8.0.x
|
2023-08-04 01:37:51 +01:00
|
|
|
|
|
|
|
- name: Restore dependencies
|
|
|
|
run: dotnet restore
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: dotnet build -c Release
|
|
|
|
|
|
|
|
- name: Create Release
|
|
|
|
uses: "marvinpinto/action-automatic-releases@latest"
|
|
|
|
with:
|
|
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
prerelease: false
|