Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Release NuGet Package

on:
push:
tags:
- 'v*' # Triggers on tags like v1.2.3
release:
types: [published]

jobs:
build-and-publish:
Expand All @@ -23,7 +22,7 @@ jobs:

- name: Extract version from tag
id: get_version
run: echo "PACKAGE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
run: echo "PACKAGE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- name: Build
run: dotnet build --configuration Release --no-restore

Expand Down