Skip to content

Commit

Permalink
feat(nuget)#: Add manual publish with version input.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueCyro committed Feb 7, 2025
1 parent e11da0a commit d07ac29
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ name: "Publish Spz.NET"

on:
workflow_dispatch:
inputs:
version:
description: 'Publish version'
required: true
release:
types: [published]


jobs:
publish:
env:
VERSION: ${{ github.event.release.tag_name }}
VERSION: ${{ github.event.release.tag_name || github.event.inputs.version }}

runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit d07ac29

Please sign in to comment.