Skip to content

Commit

Permalink
Add workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Nov 29, 2024
1 parent 1602bab commit a16c4eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- "*.*.*"
workflow_dispatch:

jobs:
build:
Expand All @@ -24,14 +25,14 @@ jobs:
- uses: gittools/actions/gitversion/[email protected]
name: Install GitVersion
with:
versionSpec: '5.x'
versionSpec: "5.x"

- uses: gittools/actions/gitversion/[email protected]
name: Execute GitVersion
id: gitversion # step id used as reference for output values
with:
updateAssemblyInfo: true

- name: Restore dependencies
run: dotnet restore

Expand All @@ -40,7 +41,7 @@ jobs:

- name: Test
run: dotnet test --no-build --configuration Release --verbosity normal

- name: Deploy to NuGet
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: |
Expand Down Expand Up @@ -69,4 +70,3 @@ jobs:
body: |
${{ steps.release_preface.outputs.content }}
${{ steps.extract-release-notes.outputs.release_notes }}

0 comments on commit a16c4eb

Please sign in to comment.