Skip to content

Commit

Permalink
ci: 📝 Updated release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maicol07 committed Apr 25, 2023
1 parent 22fca41 commit 2c53db8
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Publish & Release
# Path: .github/workflows/release.yml
name: Release & Publish
on:
workflow_dispatch:
inputs:
Expand All @@ -10,6 +11,7 @@ on:
config_dir:
description: '[CHANGELOG] git-chglog configuration directory'
type: string
default: '.chglog'
required: false

filename:
Expand Down Expand Up @@ -40,6 +42,7 @@ on:
description: "Version bump type"
required: false
options:
- ''
- patch
- minor
- major
Expand All @@ -58,19 +61,9 @@ permissions:
contents: write

jobs:
changelog:
uses: maicol07/actions/.github/workflows/changelog.yml@main
with:
next_version: ${{ github.event.inputs.next_version }}
config_dir: ${{ github.event.inputs.config_dir }}
filename: ${{ github.event.inputs.filename }}
path: ${{ github.event.inputs.path }}
tag_query: ${{ github.event.inputs.tag_query }}
commit_message: ${{ github.event.inputs.commit_message }}
release_publish:
needs: changelog
uses: maicol07/actions/.github/workflows/release_publish.yml@main
secrets: inherit
with:
version_type: ${{ github.event.inputs.version_type }}
release_channel: ${{ github.event.inputs.release_channel }}
secrets: inherit

0 comments on commit 2c53db8

Please sign in to comment.