Skip to content

Commit

Permalink
ci: add publish workflow (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard authored Nov 6, 2023
1 parent d1c8ffe commit 9a472aa
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: publish

on:
workflow_dispatch:
inputs:
kind:
description: Kind of release
default: minor
type: choice
options:
- prepatch
- patch
- preminor
- minor
- premajor
- major
required: true

jobs:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Publish update
uses: boywithkeyboard/publisher@v2
with:
kind: ${{github.event.inputs.kind}}

0 comments on commit 9a472aa

Please sign in to comment.