oliverbooth.dev/.github/workflows/release.yml
Oliver Booth ba09fa22df
Some checks failed
.NET / Build & Test (push) Failing after 14m51s
chore: update actions/setup-dotnet@v4
2024-04-26 18:45:35 +01:00

33 lines
604 B
YAML

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
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- 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