Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Update README.md

Update README.md #72

Workflow file for this run

name: .NET CI
on:
push:
branches:
- '**'
permissions:
contents: write # Erlaubt das Erstellen von Releases und das Schreiben von Tags.
pull-requests: read # Ermöglicht das Lesen von PR-Informationen für den Release-Entwurf.
jobs:
build_and_test:
runs-on: ubuntu-latest
env:
CSPROJ_FILE: Templates.csproj
DOTNET_VERSION: '8.0.x'
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Install dependencies
run: dotnet restore ${{ env.CSPROJ_FILE }}
- name: Test
run: dotnet test ${{ env.CSPROJ_FILE }}
release_draft:
runs-on: ubuntu-latest
needs: build_and_test
steps:
- uses: actions/checkout@v4
- name: Run Release Drafter
uses: release-drafter/release-drafter@v6
with:
config-name: 'release-drafter-config.yml'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}