2023-08-22 14:57:18 +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:
|
2023-08-26 18:02:23 +01:00
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
2023-08-22 14:57:18 +01:00
|
|
|
|
2023-08-26 18:02:23 +01:00
|
|
|
- name: Setup .NET
|
|
|
|
uses: actions/setup-dotnet@v3
|
|
|
|
with:
|
|
|
|
dotnet-version: 7.0.x
|
2023-08-22 14:57:18 +01:00
|
|
|
|
2023-08-26 18:02:23 +01:00
|
|
|
- name: Restore dependencies
|
|
|
|
run: dotnet restore
|
2023-08-22 14:57:18 +01:00
|
|
|
|
2023-08-26 18:02:23 +01:00
|
|
|
- name: Build
|
|
|
|
run: dotnet build -c Release
|
2023-08-22 14:57:18 +01:00
|
|
|
|
2023-08-26 18:02:23 +01:00
|
|
|
- name: Create Release
|
|
|
|
uses: "marvinpinto/action-automatic-releases@latest"
|
|
|
|
with:
|
|
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
prerelease: false
|